Lines Matching refs:path
14 //! Directory_ex provides an enhanced interface for some file and path related
37 /// Maximum length of a file path in characters
47 /// Get the full absolute path to the current program.
50 /// Get the absolute path of the current program.
53 /// Obtain the path to the corresponding file by the full path.
56 /// Obtain the name to the corresponding file by the full path.
60 /// path.
63 /// Determine whether the path has ended with '/', and returns the path
64 /// after removing '/', otherwise returns the path directly.
65 pub fn RustExcludeTrailingPathDelimiter(path: &String) -> String;
67 /// Determine whether the path has ended with "/", and returns the path
68 /// after adding '/', otherwise returns the path directly.
69 pub fn RustIncludeTrailingPathDelimiter(path: &String) -> String;
71 /// Get names of all files under `path` recursively.
72 pub fn RustGetDirFiles(path: &String, files: &mut Vec<String>);
74 /// Judge if the path is empty.
75 pub fn IsEmptyFolder(path: &CxxString) -> bool;
79 pub fn ForceCreateDirectory(path: &CxxString) -> bool;
82 pub fn ForceRemoveDirectory(path: &CxxString) -> bool;
88 pub fn GetFolderSize(path: &CxxString) -> u64;
93 /// Change authority of the directory specified by path and all of its
95 pub fn ChangeModeDirectory(path: &CxxString, mode: &u32) -> bool;
97 /// Get real path from relative path.
98 pub fn RustPathToRealPath(path: &String, realPath: &mut String) -> bool;