Skip to content

Commit

Permalink
attempt to fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
davemarco committed Jan 16, 2025
1 parent 265b4e4 commit c7361c2
Showing 1 changed file with 6 additions and 8 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,10 +43,9 @@ auto get_file_size_and_update_offset(std::filesystem::path const& file_path, uin
* @return Vector containing a `FileInfo` struct for every file in the multi-file archive.
* @throws Propagates `update_offset`'s exceptions.
*/
[[nodiscard]] auto get_file_infos(
std::filesystem::path const& multi_file_archive_path,
segment_id_t next_segment_id
) -> std::vector<FileInfo>;
[[nodiscard]] auto
get_file_infos(std::filesystem::path const& multi_file_archive_path, segment_id_t next_segment_id)
-> std::vector<FileInfo>;

/**
* Combines file section metadata, multi-file archive metadata, and the number of segments into
Expand Down Expand Up @@ -118,10 +117,9 @@ auto get_file_size_and_update_offset(std::filesystem::path const& file_path, uin
}
}

auto get_file_infos(
std::filesystem::path const& multi_file_archive_path,
segment_id_t next_segment_id
) -> std::vector<FileInfo> {
auto
get_file_infos(std::filesystem::path const& multi_file_archive_path, segment_id_t next_segment_id)
-> std::vector<FileInfo> {
std::vector<FileInfo> files;
uint64_t offset = 0;

Expand Down

0 comments on commit c7361c2

Please sign in to comment.