Home | History | Annotate | Download | only in files

Lines Matching full:filepath

38 int64_t ComputeDirectorySize(const FilePath& root_path) {
46 bool Move(const FilePath& from_path, const FilePath& to_path) {
52 bool ContentsEqual(const FilePath& filename1, const FilePath& filename2) {
86 bool TextContentsEqual(const FilePath& filename1, const FilePath& filename2) {
127 bool ReadFileToString(const FilePath& path,
164 bool ReadFileToString(const FilePath& path, std::string* contents) {
169 bool IsDirectoryEmpty(const FilePath& dir_path) {
177 FILE* CreateAndOpenTemporaryFile(FilePath* path) {
178 FilePath directory;
185 bool CreateDirectory(const FilePath& full_path) {
189 bool GetFileSize(const FilePath& file_path, int64_t* file_size) {
197 bool TouchFile(const FilePath& path,
241 int GetUniquePathNumber(const FilePath& path,
242 const FilePath::StringType& suffix) {
245 (!have_suffix || !PathExists(FilePath(path.value() + suffix)))) {
249 FilePath new_path;
253 (!have_suffix || !PathExists(FilePath(new_path.value() + suffix)))) {