• Home
  • Raw
  • Download

Lines Matching refs:file_util

23   if (!file_util::PathExists(src_file_path))  in PerformCommonCheckAndPreparationForMoveAndCopy()
27 if (!file_util::DirectoryExists(dest_file_path.DirName())) in PerformCommonCheckAndPreparationForMoveAndCopy()
35 if (!file_util::PathExists(dest_file_path)) in PerformCommonCheckAndPreparationForMoveAndCopy()
40 bool src_is_directory = file_util::DirectoryExists(src_file_path); in PerformCommonCheckAndPreparationForMoveAndCopy()
41 bool dest_is_directory = file_util::DirectoryExists(dest_file_path); in PerformCommonCheckAndPreparationForMoveAndCopy()
60 if (!file_util::Delete(dest_file_path, false /* recursive */)) { in PerformCommonCheckAndPreparationForMoveAndCopy()
61 if (!file_util::IsDirectoryEmpty(dest_file_path)) in PerformCommonCheckAndPreparationForMoveAndCopy()
140 if (!file_util::DirectoryExists(file_path_.DirName())) { in RunWork()
186 file_util::CreateTemporaryFile(&file_path_); in RunWork()
268 if (!file_util::DirectoryExists(file_path_.DirName())) { in RunWork()
314 if (!file_util::PathExists(file_path_)) { in RunWork()
318 if (!file_util::Delete(file_path_, recursive_)) { in RunWork()
319 if (!recursive_ && !file_util::IsDirectoryEmpty(file_path_)) { in RunWork()
348 if (!file_util::CopyDirectory(src_file_path_, dest_file_path_, in RunWork()
374 if (!file_util::Move(src_file_path_, dest_file_path_)) in RunWork()
398 bool path_exists = file_util::PathExists(file_path_); in RunWork()
400 if (!recursive_ && !file_util::PathExists(file_path_.DirName())) { in RunWork()
409 if (path_exists && !file_util::DirectoryExists(file_path_)) { in RunWork()
413 if (!file_util::CreateDirectory(file_path_)) in RunWork()
434 if (!file_util::DirectoryExists(file_path_)) { in RunWork()
439 file_util::FileEnumerator file_enum( in RunWork()
440 file_path_, false, static_cast<file_util::FileEnumerator::FILE_TYPE>( in RunWork()
441 file_util::FileEnumerator::FILES | in RunWork()
442 file_util::FileEnumerator::DIRECTORIES)); in RunWork()
446 file_util::FileEnumerator::FindInfo info; in RunWork()
451 entry.name = file_util::FileEnumerator::GetFilename(info).value(); in RunWork()
478 if (!file_util::PathExists(file_path_)) { in RunWork()
482 if (!file_util::GetFileInfo(file_path_, &file_info_)) in RunWork()
640 if (!file_util::TouchFile( in RunWork()