File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
libs/openFrameworks/utils Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -88,8 +88,8 @@ class path {
88
88
bool is_block_file () const { return std::filesystem::is_block_file (path_); }
89
89
bool is_character_file () const { return std::filesystem::is_character_file (path_); }
90
90
bool is_empty () const { return std::filesystem::is_empty (path_); }
91
- std:: uintmax_t file_size () const { return std::filesystem::file_size (path_); }
92
- std::filesystem::file_time_type last_write_time () const { return std::filesystem::last_write_time (path_); }
91
+ auto file_size () const { return std::filesystem::file_size (path_); }
92
+ auto last_write_time () const { return std::filesystem::last_write_time (path_); }
93
93
auto get_permissions () const { return std::filesystem::status (path_).permissions (); }
94
94
95
95
// MARK: path type
@@ -200,9 +200,9 @@ class path {
200
200
path parent_path () const { return path (path_.parent_path ()); }
201
201
path filename () const { return path (path_.filename ()); }
202
202
path stem () const { return path (path_.stem ()); }
203
+ path extension () const { return path (path_.extension ()); }
203
204
204
205
// MARK: file info
205
- auto extension () const { return path (path_.extension ()); }
206
206
bool has_extension () const { return path_.has_extension (); }
207
207
bool has_filename () const { return path_.has_filename (); }
208
208
bool has_root_path () const { return path_.has_root_path (); }
You can’t perform that action at this time.
0 commit comments