Lines Matching refs:path
46 bool EchoToPath(const char* path, const char* content);
49 bool IsFileExists(const std::string& path);
50 bool CreateFile(const std::string& path); // default mode 644(-rw-r--r--)
51 bool CreateFile(const std::string& path, const mode_t& mode);
52 bool RemoveFile(const std::string& path);
53 bool WriteToFile(const std::string& path, const std::string& content, bool truncated = true);
54 bool ReadFromFile(const std::string& path, std::string& content);
55 bool ReadLinesFromFile(const std::string& path, std::vector<std::string>& lines);
57 bool IsDirExists(const std::string& path);
58 bool IsExists(const std::string& path); // file or dir
59 bool IsEmptyDir(const std::string& path);
60 bool CreateDir(const std::string& path); // create dir recursively 755
61 bool RemoveDirRecursively(const std::string& path);
62 std::string AddDelimiter(const std::string& path); // IncludeTrailingPathDelimiter
63 std::string RmDelimiter(const std::string& path); // ExcludeTrailingPathDelimiter
77 bool ReadSwapOutKBSinceKernelBoot(const std::string &path, const std::string &tagStr, unsigned long long &ret);