• Home
  • Raw
  • Download

Lines Matching full:fs

44     return fs::path(path).is_absolute();  in IsAbsolute()
50 fs::path NormalizePath(const fs::path &p) in NormalizePath()
52 fs::path result; in NormalizePath()
67 if (fs::exists(result)) { in NormalizePath()
68 return fs::canonical(result); in NormalizePath()
79 return NormalizePath(fs::path(a) / b).string(); in JoinPaths()
89 return fs::path(path).parent_path().string(); in ParentPath()
102 ES2PANDA_ASSERT(fs::path(base_).is_absolute()); in Pattern()
112 fs::path relative; in GetSearchRoot()
126 ES2PANDA_ASSERT(fs::path(path).is_absolute()); in Match()
127 fs::path value = fs::path(value_); in Match()
156 while (!fs::exists(resolvedPath)) { in ResolveConfigLocation()
549 static bool MatchExcludes(const fs::path &path, const std::vector<ArkTsConfig::Pattern> &excludes) in MatchExcludes()
559 std::vector<fs::path> GetSourceList(const std::shared_ptr<ArkTsConfig> &arktsConfig) in GetSourceList()
566 auto configDir = fs::absolute(fs::path(arktsConfig->ConfigPath())).parent_path(); in GetSourceList()
571 if (fs::exists(arktsConfig->OutDir()) && !fs::equivalent(arktsConfig->OutDir(), configDir)) { in GetSourceList()
576 std::vector<fs::path> sourceList; in GetSourceList()
578 … if (!arktsConfig->Check(fs::exists(f) && fs::path(f).has_filename(), diagnostic::NO_FILE, {f})) { in GetSourceList()
588 auto traverseRoot = fs::path(include.GetSearchRoot()); in GetSourceList()
589 if (!fs::exists(traverseRoot)) { in GetSourceList()
592 if (!fs::is_directory(traverseRoot)) { in GetSourceList()
598 for (const auto &dirEntry : fs::recursive_directory_iterator(traverseRoot)) { in GetSourceList()
600 !fs::is_directory(dirEntry)) { in GetSourceList()
610 static fs::path Relative(const fs::path &src, const fs::path &base) in Relative()
612 fs::path tmpPath = src; in Relative()
613 fs::path relPath; in Relative()
614 while (!fs::equivalent(tmpPath, base)) { in Relative()
617 return fs::path(); in Relative()
625 fs::path ArkTsConfig::ComputeDestination(const fs::path &src, const fs::path &rootDir, const fs::pa… in ComputeDestination()
638 fs::create_directories(dst.parent_path()); in ComputeDestination()