summaryrefslogtreecommitdiff
path: root/std/fs/expand_glob.ts
diff options
context:
space:
mode:
Diffstat (limited to 'std/fs/expand_glob.ts')
-rw-r--r--std/fs/expand_glob.ts12
1 files changed, 6 insertions, 6 deletions
diff --git a/std/fs/expand_glob.ts b/std/fs/expand_glob.ts
index 267d7a8c0..c57ddef45 100644
--- a/std/fs/expand_glob.ts
+++ b/std/fs/expand_glob.ts
@@ -10,8 +10,8 @@ import {
} from "../path/mod.ts";
import {
WalkEntry,
- createWalkEntry,
- createWalkEntrySync,
+ _createWalkEntry,
+ _createWalkEntrySync,
walk,
walkSync,
} from "./walk.ts";
@@ -104,7 +104,7 @@ export async function* expandGlob(
let fixedRootInfo: WalkEntry;
try {
- fixedRootInfo = await createWalkEntry(fixedRoot);
+ fixedRootInfo = await _createWalkEntry(fixedRoot);
} catch (error) {
return throwUnlessNotFound(error);
}
@@ -119,7 +119,7 @@ export async function* expandGlob(
const parentPath = joinGlobs([walkInfo.path, ".."], globOptions);
try {
if (shouldInclude(parentPath)) {
- return yield await createWalkEntry(parentPath);
+ return yield await _createWalkEntry(parentPath);
}
} catch (error) {
throwUnlessNotFound(error);
@@ -211,7 +211,7 @@ export function* expandGlobSync(
let fixedRootInfo: WalkEntry;
try {
- fixedRootInfo = createWalkEntrySync(fixedRoot);
+ fixedRootInfo = _createWalkEntrySync(fixedRoot);
} catch (error) {
return throwUnlessNotFound(error);
}
@@ -226,7 +226,7 @@ export function* expandGlobSync(
const parentPath = joinGlobs([walkInfo.path, ".."], globOptions);
try {
if (shouldInclude(parentPath)) {
- return yield createWalkEntrySync(parentPath);
+ return yield _createWalkEntrySync(parentPath);
}
} catch (error) {
throwUnlessNotFound(error);