refactor
This commit is contained in:
@ -52,7 +52,7 @@ struct file_times final {
|
||||
return written;
|
||||
}
|
||||
|
||||
throw std::runtime_error("type_type not supported") :
|
||||
throw std::runtime_error("type_type not supported");
|
||||
}
|
||||
};
|
||||
|
||||
@ -71,11 +71,11 @@ file_exists_in_path(std::string_view path, std::string_view file_name) -> bool;
|
||||
file_exists_in_path(std::wstring_view path,
|
||||
std::wstring_view file_name) -> bool;
|
||||
|
||||
[[nodiscard]] auto get_time(std::string_view path, time_type type) const
|
||||
-> std::optional<std::uint64_t>;
|
||||
[[nodiscard]] auto get_time(std::string_view path,
|
||||
time_type type) -> std::optional<std::uint64_t>;
|
||||
|
||||
[[nodiscard]] auto get_time(std::wstring_view path, time_type type) const
|
||||
-> std::optional<std::uint64_t>;
|
||||
[[nodiscard]] auto get_time(std::wstring_view path,
|
||||
time_type type) -> std::optional<std::uint64_t>;
|
||||
|
||||
[[nodiscard]] auto
|
||||
get_times(std::string_view path) -> std::optional<file_times>;
|
||||
|
Reference in New Issue
Block a user