diff options
| author | jhurst <jhurst@cinecert.com> | 2013-02-08 19:11:58 +0000 |
|---|---|---|
| committer | jhurst <> | 2013-02-08 19:11:58 +0000 |
| commit | 9998b893b47f111f41c4f0fcf1067efe5b7a62f3 (patch) | |
| tree | ef455067287c17ebb9f82ecf3d27d134823c1edb /src/KM_fileio.h | |
| parent | b3fa00a9f37ecc7c2bef6276aae0ea67d1ddbeb3 (diff) | |
big change rollup
Diffstat (limited to 'src/KM_fileio.h')
| -rwxr-xr-x | src/KM_fileio.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/KM_fileio.h b/src/KM_fileio.h index 0eb921b..a051e8e 100755 --- a/src/KM_fileio.h +++ b/src/KM_fileio.h @@ -133,6 +133,7 @@ namespace Kumu bool PathIsFile(const std::string& Path); // true if the path exists in the filesystem and is a file bool PathIsDirectory(const std::string& Path); // true if the path exists in the filesystem and is a directory fsize_t FileSize(const std::string& Path); // returns the size of a regular file, 0 for a directory or device + std::string PathCwd(); bool PathsAreEquivalent(const std::string& lhs, const std::string& rhs); // true if paths point to the same filesystem entry // Returns free space and total space available for the given path @@ -148,6 +149,7 @@ namespace Kumu std::string PathMakeAbsolute(const std::string& Path, char separator = '/'); // compute position of relative path using getcwd() std::string PathMakeLocal(const std::string& Path, const std::string& Parent); // remove Parent from front of Path, if it exists std::string PathMakeCanonical(const std::string& Path, char separator = '/'); // remove '.' and '..' + bool PathResolveLinks(const std::string& link_path, std::string& resolved_path, char separator = '/'); // common operations std::string PathBasename(const std::string& Path, char separator = '/'); // returns right-most path element (list back()) |
