| /third_party/ffmpeg/ |
| H A D | OAT.xml | 20 basedir: Root dir, the basedir + project path is the real source file location.
29 5. task project: Projects to be checked, the path field define the source root dir of the project.
34 2. policyitem: The fields type, name, path, desc is required, and the fields rule, group, filefilter is optional,the default value is:
35 <policyitem type="" name="" path="" desc="" rule="may" group="defaultGroup" filefilter="defaultPolicyFilter"/>
37 "compatibility" is used to check license compatibility in the specified path;
38 "license" is used to check source license header in the specified path;
39 "copyright" is used to check source copyright header in the specified path;
40 "import" is used to check source dependency in the specified path, such as import ... ,include ...
41 "filetype" is used to check file type in the specified path, supported file types: archive, binary
42 "filename" is used to check whether the specified file exists in the specified path(suppor [all...] |
| /third_party/node/test/parallel/ |
| H A D | test-fs-promises.js | 7 const path = require('path'); 38 const tmpDir = tmpdir.path; 99 await copyFile(fixtures.path('baz.js'), dest); 121 const dest = path.resolve(tmpDir, 'baz.js'); 168 const dest = path.resolve(tmpDir, 'test1.js'); 286 const newPath = path.resolve(tmpDir, 'baz2.js'); 292 const newLink = path.resolve(tmpDir, 'baz3.js'); 330 const dir = path.join(tmpDir, nextdir()); 339 const newPath = path [all...] |
| H A D | test-fs-realpath.js | 32 const path = require('path'); 37 const tmpDir = tmpdir.path; 55 return path.join(tmpDir, p); 58 const targetsAbsDir = path.join(tmpDir, 'targets'); 63 fs.mkdirSync(path.join(targetsAbsDir, 'nested-index')); 64 fs.mkdirSync(path.join(targetsAbsDir, 'nested-index', 'one')); 65 fs.mkdirSync(path.join(targetsAbsDir, 'nested-index', 'two')); 85 realpath('/this/path/does/not/exist', common.mustCall(function(err, s) { 93 realpath('/this/path/doe [all...] |
| /third_party/ninja/misc/ |
| H A D | write_fake_manifests.py | 73 def path(self): member in GenRandom 74 return os.path.sep.join([ 78 def src_obj_pairs(self, path, name): 80 return [(os.path.join(self.src_dir, path, s + '.cc'), 81 os.path.join('obj', path, '%s.%s.o' % (name, s))) 94 self.dir_path = gen.path() 95 self.ninja_file_path = os.path.join( 99 self.output = os.path [all...] |
| /third_party/skia/third_party/externals/angle2/scripts/ |
| H A D | generate_loader.py | 22 path, 30 header_path = registry_xml.path_to(path, file_name) 47 script_name=os.path.basename(sys.argv[0]), 66 path, 73 source_path = registry_xml.path_to(path, file_name) 92 script_name=os.path.basename(sys.argv[0]), 122 path = os.path.join("..", "src", "libEGL") 128 path, 132 write_source(data_source_name, all_cmds, "egl", path, prefi [all...] |
| /test/testfwk/xdevice/src/xdevice/_core/executor/ |
| H A D | source.py | 104 inner_testcases_dir = os.path.abspath(os.path.join( 106 if getattr(config, ConfigConst.testcases_path, "") and os.path.normcase( 107 config.testcases_path) != os.path.normcase(inner_testcases_dir): 113 if os.path.normcase(Variables.exec_dir) != os.path.normcase( 126 testcases_dirs.append(os.path.abspath(os.path.join(root, sub_dir))) 137 if not os.path.isabs(file_name): 138 file_name = os.path [all...] |
| /third_party/lzma/CPP/Windows/ |
| H A D | FileName.cpp | 278 int FindAltStreamColon(CFSTR path) throw()
in FindAltStreamColon() argument 281 if (IsDrivePath2(path))
in FindAltStreamColon() 286 FChar c = path[i];
in FindAltStreamColon() 304 // Network path: we look "server\path\" as root prefix
in GetRootPrefixSize_Of_NetworkPath() 353 // Network path: we look "server\path\" as root prefix
in GetRootPrefixSize_Of_NetworkPath() 420 static bool GetCurDir(UString &path)
in GetCurDir() argument 422 path.Empty();
in GetCurDir() 426 path in GetCurDir() 755 GetSuperPath(CFSTR path, UString &superPath, bool onlyIfNew) GetSuperPath() argument 889 GetFullPath(CFSTR path, FString &fullPath) GetFullPath() argument [all...] |
| /third_party/node/tools/gyp/pylib/gyp/ |
| H A D | __init__.py | 11 import os.path namespace 40 % (mode.upper(), os.path.basename(ctx[0]), ctx[1], ctx[2], message) 87 generator_name = os.path.splitext(format)[0] 88 path, generator_name = os.path.split(generator_name) 90 # Make sure the path to the custom generator is in sys.path 91 # Don't worry about removing it once we are done. Keeping the path 92 # to each generator that is used in sys.path is likely harmless and 94 path variable [all...] |
| /third_party/node/deps/npm/node_modules/node-gyp/gyp/pylib/gyp/ |
| H A D | __init__.py | 11 import os.path namespace 41 % (mode.upper(), os.path.basename(ctx[0]), ctx[1], ctx[2], message) 88 generator_name = os.path.splitext(format)[0] 89 path, generator_name = os.path.split(generator_name) 91 # Make sure the path to the custom generator is in sys.path 92 # Don't worry about removing it once we are done. Keeping the path 93 # to each generator that is used in sys.path is likely harmless and 95 path variable [all...] |
| /test/xts/acts/ai/neural_network_runtime/v2_0/common/ |
| H A D | nnrt_utils.cpp | 323 PathType CheckPath(const std::string &path) in CheckPath() argument 325 if (path.empty()) { in CheckPath() 326 LOGI("CheckPath: path is null"); in CheckPath() 330 if (stat(path.c_str(), &buf) == 0) { in CheckPath() 339 LOGI("%s not found", path.c_str()); in CheckPath() 343 bool DeleteFile(const std::string &path) in DeleteFile() argument 345 if (path.empty()) { in DeleteFile() 346 LOGI("DeleteFile: path is null"); in DeleteFile() 349 if (CheckPath(path) == PathType::NOT_FOUND) { in DeleteFile() 350 LOGI("not found: %s", path in DeleteFile() 387 DeleteFolder(const std::string &path) DeleteFolder() argument 423 CreateFolder(const std::string &path) CreateFolder() argument [all...] |
| /test/xts/acts/ai/neural_network_runtime/v1_0/common/ |
| H A D | nnrt_utils.cpp | 323 PathType CheckPath(const std::string &path) in CheckPath() argument 325 if (path.empty()) { in CheckPath() 326 LOGI("CheckPath: path is null"); in CheckPath() 330 if (stat(path.c_str(), &buf) == 0) { in CheckPath() 339 LOGI("%s not found", path.c_str()); in CheckPath() 343 bool DeleteFile(const std::string &path) in DeleteFile() argument 345 if (path.empty()) { in DeleteFile() 346 LOGI("DeleteFile: path is null"); in DeleteFile() 349 if (CheckPath(path) == PathType::NOT_FOUND) { in DeleteFile() 350 LOGI("not found: %s", path in DeleteFile() 387 DeleteFolder(const std::string &path) DeleteFolder() argument 423 CreateFolder(const std::string &path) CreateFolder() argument [all...] |
| /third_party/icu/tools/cldr/cldr-to-icu/src/main/java/org/unicode/icu/tool/cldrtoicu/ant/ |
| H A D | CleanOutputDirectoryTask.java | 19 import java.nio.file.Path; 68 private Path root = null; 85 private Path path = null; field in CleanOutputDirectoryTask.Retain 87 // Don't use "Path" for the argument type because that always makes an absolute path (e.g. 90 public void setPath(String path) { in setPath() argument 91 Path p = Paths.get(path).normalize(); in setPath() 92 checkBuild(!p.isAbsolute() && !p.startsWith(".."), "invalid path in setPath() 228 couldDelete(Path path, Path dir, Dir dirInfo) couldDelete() argument 232 wasAutoGenerated(Path path) wasAutoGenerated() argument [all...] |
| /third_party/lzma/C/Util/SfxSetup/ |
| H A D | SfxSetup.c | 182 static BoolInt DoesFileOrDirExist(const WCHAR *path)
in DoesFileOrDirExist() argument 186 handle = FindFirstFileW(path, &fd);
in DoesFileOrDirExist() 193 static WRes RemoveDirWithSubItems(WCHAR *path)
in RemoveDirWithSubItems() argument 198 const size_t len = wcslen(path);
in RemoveDirWithSubItems() 199 wcscpy(path + len, L"*");
in RemoveDirWithSubItems() 200 handle = FindFirstFileW(path, &fd);
in RemoveDirWithSubItems() 201 path[len] = L'\0';
in RemoveDirWithSubItems() 210 wcscpy(path + len, fd.cFileName);
in RemoveDirWithSubItems() 213 wcscat(path, WSTRING_PATH_SEPARATOR);
in RemoveDirWithSubItems() 214 res = RemoveDirWithSubItems(path);
in RemoveDirWithSubItems() 265 WCHAR path[MAX_PATH * 3 + 2]; main() local [all...] |
| /third_party/ltp/lib/ |
| H A D | tst_device.c | 51 static int set_dev_loop_path(int dev, char *path, size_t path_len) in set_dev_loop_path() argument 57 snprintf(path, path_len, dev_loop_variants[i], dev); in set_dev_loop_path() 59 if (stat(path, &st) == 0 && S_ISBLK(st.st_mode)) in set_dev_loop_path() 66 static int set_dev_path(char *dev, char *path, size_t path_len) in set_dev_path() argument 72 snprintf(path, path_len, dev_variants[i], dev); in set_dev_path() 74 if (stat(path, &st) == 0 && S_ISBLK(st.st_mode)) in set_dev_path() 81 int tst_find_free_loopdev(char *path, size_t path_len) in tst_find_free_loopdev() argument 94 if (path && set_dev_loop_path(rc, path, path_len)) in tst_find_free_loopdev() 97 rc, path in tst_find_free_loopdev() 390 tst_umount(const char *path) tst_umount() argument 424 tst_is_mounted(const char *path) tst_is_mounted() argument 447 tst_is_mounted_at_tmpdir(const char *path) tst_is_mounted_at_tmpdir() argument 468 find_stat_file(const char *dev, char *path, size_t path_len) find_stat_file() argument 518 tst_find_backing_dev(const char *path, char *dev, size_t dev_size) tst_find_backing_dev() argument 639 tst_dev_block_size(const char *path) tst_dev_block_size() argument [all...] |
| /third_party/skia/src/gpu/ops/ |
| H A D | AtlasPathRenderer.cpp | 88 // The atlas is only used for small-area paths, which means at least one dimension of every path is 89 // guaranteed to be quite small. So if we transpose tall paths, then every path will have a small 93 // Ensure every path in the atlas falls in or below the 256px high rectanizer band. 100 // http://skbug.com/12291 -- The way GrDynamicAtlas works, a single 2048x1 path is given an entire 107 // b/195095846: There is a bug with the atlas path renderer on OpenGL iOS. Disable until we can in IsSupported() 118 // default path renderer when tessellation isn't available. in IsSupported() 149 return // Ensure the path's largest dimension fits in the atlas. in pathFitsInAtlas() 157 void AtlasPathRenderer::AtlasPathKey::set(const SkMatrix& m, const SkPath& path) { in set() argument 159 fPathGenID = path.getGenerationID(); in set() 166 fFillRule = (uint32_t)GrFillRuleForSkPath(path); // Fil in set() 169 addPathToAtlas(GrRecordingContext* rContext, const SkMatrix& viewMatrix, const SkPath& path, const SkRect& pathDevBounds, SkIRect* devIBounds, SkIPoint16* locationInAtlas, bool* transposedInAtlas, const DrawRefsAtlasCallback& drawRefsAtlasCallback) addPathToAtlas() argument 285 SkPath path; onDrawPath() local 324 makeAtlasClipEffect(const SurfaceDrawContext* sdc, const GrOp* opBeingClipped, std::unique_ptr<GrFragmentProcessor> inputFP, const SkIRect& drawBounds, const SkMatrix& viewMatrix, const SkPath& path) makeAtlasClipEffect() argument [all...] |
| /foundation/arkui/ace_engine/frameworks/core/components_ng/pattern/overlay/ |
| H A D | sheet_wrapper_paint_method.cpp | 51 RSPath path; in PaintOuterBorder() local 53 GetBorderDrawPath(path, sheetNode, sheetTheme, outerBorderWidth); in PaintOuterBorder() 58 canvas.DrawPath(path); in PaintOuterBorder() 61 path.Close(); in PaintOuterBorder() 87 RSPath& path, const RefPtr<FrameNode> sheetNode, const RefPtr<SheetTheme>& sheetTheme, float borderWidth) in GetBorderDrawPath() 99 path.Reset(); in GetBorderDrawPath() 100 path.MoveTo( in GetBorderDrawPath() 102 path.ArcTo(borderRadius, borderRadius, 0.0f, RSPathDirection::CW_DIRECTION, sheetRadius + targetOffset.GetX(), in GetBorderDrawPath() 104 path.LineTo(arrowOffset - ARROW_VERTICAL_P1_OFFSET_X.ConvertToPx() + targetOffset.GetX(), in GetBorderDrawPath() 106 path in GetBorderDrawPath() 86 GetBorderDrawPath( RSPath& path, const RefPtr<FrameNode> sheetNode, const RefPtr<SheetTheme>& sheetTheme, float borderWidth) GetBorderDrawPath() argument 140 RSPath path; PaintInnerBorder() local [all...] |
| /foundation/distributeddatamgr/kv_store/kvstoremock/frameworks/innerkitsimpl/kvdb/src/ |
| H A D | store_util.cpp | 165 bool StoreUtil::InitPath(const std::string &path) in InitPath() argument 167 if (access(path.c_str(), F_OK) == 0) { in InitPath() 172 if (mkdir(path.c_str()) != 0 && errno != EEXIST) { in InitPath() 173 ZLOGE("mkdir error:%{public}d, path:%{public}s", errno, path.c_str()); in InitPath() 177 if (mkdir(path.c_str(), MODE) != 0 && errno != EEXIST) { in InitPath() 178 ZLOGE("mkdir error:%{public}d, path:%{public}s", errno, path.c_str()); in InitPath() 190 ZLOGE("fopen error:%{public}d, path:%{public}s", errno, name.c_str()); in CreateFile() 197 std::vector<std::string> StoreUtil::GetSubPath(const std::string &path) in GetSubPath() argument 213 GetFiles(const std::string &path) GetFiles() argument 261 Remove(const std::string &path) Remove() argument [all...] |
| /foundation/filemanagement/file_api/interfaces/kits/js/src/mod_fs/properties/ |
| H A D | xattr.cpp | 46 static int32_t GetXattrCore(const char *path,
in GetXattrCore() argument 50 ssize_t xAttrSize = getxattr(path, key, nullptr, 0);
in GetXattrCore() 56 xAttrSize = getxattr(path, key, xattrValue.get(), static_cast<size_t>(xAttrSize));
in GetXattrCore() 74 std::unique_ptr<char[]> path;
in SetSync() local 77 tie(succ, path, std::ignore) = NVal(env, funcArg[static_cast<int>(NARG_POS::FIRST)]).ToUTF8StringPath();
in SetSync() 79 HILOGE("Invalid path");
in SetSync() 95 if (setxattr(path.get(), key.get(), value.get(), strnlen(value.get(), MAX_XATTR_SIZE), 0) < 0) {
in SetSync() 113 std::unique_ptr<char[]> path;
in GetSync() local 115 tie(succ, path, std::ignore) = NVal(env, funcArg[static_cast<int>(NARG_POS::FIRST)]).ToUTF8StringPath();
in GetSync() 117 HILOGE("Invalid path");
in GetSync() 146 std::unique_ptr<char[]> path; GetAsync() local 190 std::unique_ptr<char[]> path; SetAsync() local [all...] |
| /test/xts/dcts/filemanagement/fileio/server/entry/src/main/ets/serviceability/ |
| H A D | ServiceAbility.ts | 147 let path = data.readString()
148 console.info("The server's readString result is " + path);
149 let checkResult = checkDirExists(path);
163 let path = data.readString();
164 console.info("The server's readString result is " + path);
167 let file = fs.openSync(path);
180 let path = data.readString();
181 console.info("The server's readString result is " + path);
183 let checkResult = checkFileExists(path);
197 let path [all...] |
| /third_party/gn/src/gn/ |
| H A D | function_rebase_path_unittest.cc | 60 // Test system path output. in TEST() 62 setup.build_settings()->SetRootPath(base::FilePath(u"C:/path/to/src")); in TEST() 63 EXPECT_EQ("C:/path/to/src", RebaseOne(scope, ".", "", "//")); in TEST() 64 EXPECT_EQ("C:/path/to/src/", RebaseOne(scope, "//", "", "//")); in TEST() 65 EXPECT_EQ("C:/path/to/src/foo", RebaseOne(scope, "foo", "", "//")); in TEST() 66 EXPECT_EQ("C:/path/to/src/foo/", RebaseOne(scope, "foo/", "", "//")); in TEST() 67 EXPECT_EQ("C:/path/to/src/tools/gn/foo", RebaseOne(scope, "foo", "", ".")); in TEST() 68 EXPECT_EQ("C:/path/to/other/tools", in TEST() 70 EXPECT_EQ("C:/path/to/src/foo/bar", in TEST() 72 EXPECT_EQ("C:/path/t in TEST() [all...] |
| /third_party/ltp/include/ |
| H A D | tst_fs.h | 56 * @path: path is the pathname of any file within the mounted file system 60 int tst_fs_has_free_(void (*cleanup)(void), const char *path, unsigned int size, 64 * Returns filesystem magick for a given path. 86 long tst_fs_type_(void (*cleanup)(void), const char *path); 137 * Search $PATH for prog_name and fills buf with absolute path if found. 163 * @path: path to file 168 int tst_fill_file(const char *path, cha 217 tst_fs_type(const char *path) tst_fs_type() argument 222 tst_fs_has_free(const char *path, unsigned int size, unsigned int mult) tst_fs_has_free() argument 243 tst_fs_type(void (*cleanup)(void), const char *path) tst_fs_type() argument 248 tst_fs_has_free(void (*cleanup)(void), const char *path, unsigned int size, unsigned int mult) tst_fs_has_free() argument [all...] |
| /third_party/node/deps/v8/third_party/zlib/google/ |
| H A D | zip.cc | 58 for (const base::FilePath& path : paths) { 59 DCHECK(!path.IsAbsolute()); 60 const base::FilePath absolute_path = src_dir_.Append(path); 63 LOG(ERROR) << "Cannot open " << Redact(path) << ": It is a directory"; 68 << "Cannot open " << Redact(path) << ": " 76 bool List(const base::FilePath& path, 79 DCHECK(!path.IsAbsolute()); 84 src_dir_.Append(path), false /* recursive */, 90 ->push_back(path.Append(info.GetName())); 96 bool GetInfo(const base::FilePath& path, Inf 102 PLOG(ERROR) << "Cannot get info of " << Redact(path); global() variable [all...] |
| /third_party/node/deps/zlib/google/ |
| H A D | zip.cc | 58 for (const base::FilePath& path : paths) { 59 DCHECK(!path.IsAbsolute()); 60 const base::FilePath absolute_path = src_dir_.Append(path); 63 LOG(ERROR) << "Cannot open " << Redact(path) << ": It is a directory"; 68 << "Cannot open " << Redact(path) << ": " 76 bool List(const base::FilePath& path, 79 DCHECK(!path.IsAbsolute()); 84 src_dir_.Append(path), false /* recursive */, 90 ->push_back(path.Append(info.GetName())); 96 bool GetInfo(const base::FilePath& path, Inf 102 PLOG(ERROR) << "Cannot get info of " << Redact(path); global() variable [all...] |
| /third_party/node/deps/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EAAE,CAAC,CAAA;AAC5D,QAAA,WAAW,GAAG,eAAe,CAAA;AAC7B,QAAA,OAAO,GAAG,MAAM,CAAC,MAAM,CAAC,WAAW,EAAE;IAChD,IAAI,EAAE,eAAe;CACtB,CAAC,CAAA;AACW,QAAA,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,QAAQ,EAAE;IAC1C,MAAM,EAAE,cAAc;IACtB,OAAO,EAAE,eAAe;CACzB,CAAC,CAAA;AAEF,qBAAqB;AACrB,uCAA4C;AAAnC,mGAAA,MAAM,OAAA;AAAE,qGAAA,QAAQ,OAAA;AACzB,qCAAgC;AAAvB,+FAAA,IAAI,OAAA;AAOb,+CAAyC;AAAhC,wGAAA,QAAQ,OAAA;AAWjB,oBAAoB;AAEP,QAAA,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;IACvC,IAAI,EAAE,KAAK;IACX,QAAQ;IACR,IAAI,EAAJ,YAAI;IACJ,UAAU;IACV,MAAM,EAAN,cAAM;IACN,cAAc;IACd,UAAU,EAAV,kBAAU;IACV,WAAW;IACX,OAAO,EAAP,eAAO;IACP,eAAe;IACf,WAAW,EAAX,mBAAW;IACX,IAAI,EAAJ,cAAI;IACJ,QAAQ,EAAR,uBAAQ;IACR,MAAM,EAAN,kBAAM;IACN,QAAQ,EAAR,oBAAQ;CACT,CAAC,CAAA;AACF,YAAI,CAAC,IAAI,GAAG,YAAI,CAAA","sourcesContent":["import { escape, unescape } from 'minimatch'\nimport { Minipass } from 'minipass'\nimport { Path } from 'path-scurry'\nimport type {\n GlobOptions,\n GlobOptionsWithFileTypesFalse,\n GlobOptionsWithFileTypesTrue,\n GlobOptionsWithFileTypesUnset,\n} from './glob.js'\nimport { Glob } from './glob.js'\nimport { hasMagic } from './has-magic.js'\n\n/**\n * Syncronous form of {@link globStream}. Will read all the matches as fast as\n * you consume them, even all in a single tick if you consume them immediately,\n * but will still respond to backpressure if they're not consumed immediately.\n */\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue\n): Minipass<Path, Path>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse\n): Minipass<string, string>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesUnset\n): Minipass<string, string>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptions\n): Minipass<Path, Path> | Minipass<string, string>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptions = {}\n) {\n return new Glob(pattern, options).streamSync()\n}\n\n/**\n * Return a stream that emits all the strings or `Path` objects and\n * then emits `end` when completed.\n */\nexport function globStream(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse\n): Minipass<string, string>\nexport function globStream(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue\n): Minipass<Path, Path>\nexport function globStream(\n pattern: string | string[],\n options?: GlobOptionsWithFileTypesUnset | undefined\n): Minipass<string, string>\nexport function globStream(\n pattern: string | string[],\n options: GlobOptions\n): Minipass<Path, Pat [all...] |
| /third_party/node/deps/npm/node_modules/glob/dist/esm/ |
| H A D | index.js.map | 1 {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,MAAM,WAAW,CAAA;AAS5C,OAAO,EAAE,IAAI,EAAE,MAAM,WAAW,CAAA;AAChC,OAAO,EAAE,QAAQ,EAAE,MAAM,gBAAgB,CAAA;AAuBzC,MAAM,UAAU,cAAc,CAC5B,OAA0B,EAC1B,UAAuB,EAAE;IAEzB,OAAO,IAAI,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,UAAU,EAAE,CAAA;AAChD,CAAC;AAsBD,MAAM,UAAU,UAAU,CACxB,OAA0B,EAC1B,UAAuB,EAAE;IAEzB,OAAO,IAAI,IAAI,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC,MAAM,EAAE,CAAA;AAC5C,CAAC;AAqBD,MAAM,UAAU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,gBAAgB,CAAA;AAWzC,oBAAoB;AAEpB,MAAM,CAAC,MAAM,IAAI,GAAG,MAAM,CAAC,MAAM,CAAC,KAAK,EAAE;IACvC,IAAI,EAAE,KAAK;IACX,QAAQ;IACR,IAAI;IACJ,UAAU;IACV,MAAM;IACN,cAAc;IACd,UAAU;IACV,WAAW;IACX,OAAO;IACP,eAAe;IACf,WAAW;IACX,IAAI;IACJ,QAAQ;IACR,MAAM;IACN,QAAQ;CACT,CAAC,CAAA;AACF,IAAI,CAAC,IAAI,GAAG,IAAI,CAAA","sourcesContent":["import { escape, unescape } from 'minimatch'\nimport { Minipass } from 'minipass'\nimport { Path } from 'path-scurry'\nimport type {\n GlobOptions,\n GlobOptionsWithFileTypesFalse,\n GlobOptionsWithFileTypesTrue,\n GlobOptionsWithFileTypesUnset,\n} from './glob.js'\nimport { Glob } from './glob.js'\nimport { hasMagic } from './has-magic.js'\n\n/**\n * Syncronous form of {@link globStream}. Will read all the matches as fast as\n * you consume them, even all in a single tick if you consume them immediately,\n * but will still respond to backpressure if they're not consumed immediately.\n */\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue\n): Minipass<Path, Path>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse\n): Minipass<string, string>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesUnset\n): Minipass<string, string>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptions\n): Minipass<Path, Path> | Minipass<string, string>\nexport function globStreamSync(\n pattern: string | string[],\n options: GlobOptions = {}\n) {\n return new Glob(pattern, options).streamSync()\n}\n\n/**\n * Return a stream that emits all the strings or `Path` objects and\n * then emits `end` when completed.\n */\nexport function globStream(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesFalse\n): Minipass<string, string>\nexport function globStream(\n pattern: string | string[],\n options: GlobOptionsWithFileTypesTrue\n): Minipass<Path, Path>\nexport function globStream(\n pattern: string | string[],\n options?: GlobOptionsWithFileTypesUnset | undefined\n): Minipass<string, string>\nexport function globStream(\n pattern: string | string[],\n options: GlobOptions\n): Minipass<Path, Pat [all...] |