|
| static string | GetName (string path) |
| | Get filename without leading directory path. More...
|
| |
| static string | GetExtension (string path) |
| | Get filename extension. Will return with suffix like ".xml" except for names starting with dot like ".gitignore" where function will result with empty string. More...
|
| |
| static string | GetRoot (string path) |
| | Get file root path. Works also with UNC and protocol paths. More...
|
| |
| static string | GetDirectory (string path) |
| | Get directory name from file path. Returns path itself if it looks like directory. More...
|
| |
| static string | GetNameWithoutExtension (string path) |
| | Get filename without extension. More...
|
| |
| static string | IncludeTrailingPathSeparator (string path) |
| | Include traling path directory separator if needed More...
|
| |
| static string | ExcludeRoot (string path) |
| | Exclude leading path root. More...
|
| |
| static string | IncludeLeadingRoot (string path, string root) |
| | Include leading root directory to the path if not specified More...
|
| |
| static string | ExcludeTrailingPathSeparator (string path) |
| | Exclude traling path directory separator More...
|
| |
| static string | FileUniqueIdentity (string file, string path, bool reserve) |
| | Return unique name for file by checking it's not exists. This method may create empty file if reserve option is set true and it is More...
|
| |
| static string | FileUniqueIdentity (string file, string path) |
| | Return unique name for file More...
|
| |
| static string | FileUniqueIdentity (string file, bool reserve) |
| | Return unique name for file More...
|
| |
| static string | FileUniqueIdentity (string file) |
| | Return unique name for file More...
|
| |
| static bool | HasNoExtension (string file) |
| | Return true if file name does not contain extension More...
|
| |
| static bool | IsDirectory (string file) |
| | Check if path is directory More...
|
| |
| static string | GetAbsolutePath (string file) |
| | Get absolute path More...
|
| |
| static string | GetAbsolutePath (string file, string current) |
| | Get absolute path More...
|
| |
| static bool | IsRelativePath (string path, string[] separator) |
| | Check if file or directory path is relative or absolute. More...
|
| |
| static bool | IsRelativePath (string path) |
| | Check if file or directory path is relative or absolute. More...
|
| |
| static string | Locate (string command) |
| | Locate executable file. More...
|
| |
| static string | Locate (string command, string[] search) |
| | Locate command file. More...
|
| |
| static string | Locate (string file, string[] search, string[] extension) |
| | Locate file with one of possible extensions in any directory and return full path to it. More...
|
| |
| static string | Locate (string file, string[] search, string[] extension, Energy.Enumeration.LocateBehaviour behaviour) |
| | Locate file with one of possible extensions in any directory and return full path to it. More...
|
| |
| static bool | MakeDirectory (string path) |
| | Create directory if not exists More...
|
| |
| static bool | RemoveDirectory (string path, bool recursive) |
| | Remove directory if exists More...
|
| |
| static bool | RemoveDirectory (string path) |
| | Remove directory if exists and is empty More...
|
| |
File system related functions