diff options
Diffstat (limited to 'clocl/file_manip.h')
-rw-r--r-- | clocl/file_manip.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/clocl/file_manip.h b/clocl/file_manip.h new file mode 100644 index 0000000..7084239 --- /dev/null +++ b/clocl/file_manip.h @@ -0,0 +1,12 @@ +#ifndef _FILE_MANIP_H_ +#define _FILE_MANIP_H_ +#include <string> + +bool fs_exists (std::string path); +std::string fs_filename (std::string path); +std::string fs_stem (std::string path); +std::string fs_ext (std::string path); +std::string fs_path (std::string path); +std::string fs_replace_extension(std::string path, std::string ext); + +#endif // _FILE_MANIP_H_ |