Lines Matching refs:path

34 rust::String RustExcludeTrailingPathDelimiter(const rust::String& path);
35 rust::String RustIncludeTrailingPathDelimiter(const rust::String& path);
36 bool RustPathToRealPath(const rust::String& path, rust::String& realPath);
37 void RustGetDirFiles(const rust::String& path, rust::vec<rust::String>& files);
41 * @brief Obtains the full absolute path of this program.
44 * path by using readlink().
49 * @brief Obtains the absolute path of this program.
54 * @brief Obtains the path of a file based on the full path.
59 * @brief Obtains the name of a file based on the full path.
64 * @brief Obtains the filename extension based on the full path.
70 * @brief Excludes the trailing path delimiter '/' from the <b>strPath</b>.
72 * If the path ends with '/', returns the path after removing '/'.
73 * Otherwise, returns the path directly.
75 std::string ExcludeTrailingPathDelimiter(const std::string& path);
78 * @brief Includes the trailing path delimiter '/' in the <b>strPath</b>.
80 * If the path ends with "/", returns the path.
81 * Otherwise, returns the path with an appended delimiter.
83 std::string IncludeTrailingPathDelimiter(const std::string& path);
88 * @param path Indicates the target directory.
91 void GetDirFiles(const std::string& path, std::vector<std::string>& files);
99 bool IsEmptyFolder(const std::string& path);
111 bool ForceCreateDirectory(const std::string& path);
124 bool ForceRemoveDirectory(const std::string& path);
137 uint64_t GetFolderSize(const std::string& path);
157 bool ChangeModeDirectory(const std::string& path, const mode_t& mode);
160 * @brief Obtains the real path from a relative path.
162 * @return Returns <b>true</b> if the real path is obtained;
165 bool PathToRealPath(const std::string& path, std::string& realPath);