File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ export type {
13
13
export * as path from "jsr:@std/path@0.224.0" ;
14
14
export * as fs from "jsr:@std/fs@0.224.0" ;
15
15
export * as asserts from "jsr:@std/assert@0.225.1" ;
16
+ export * as posix from "jsr:@std/path@0.224.0/posix" ;
17
+ export * as windows from "jsr:@std/path@0.224.0/windows" ;
16
18
17
19
export {
18
20
asyncIteratorFrom as fromA ,
Original file line number Diff line number Diff line change 6
6
homeDir ,
7
7
Item ,
8
8
path as univPath ,
9
+ posix ,
9
10
vars ,
11
+ windows ,
10
12
wrapA ,
11
13
} from "../@ddc-file/deps.ts" ;
12
14
import * as util from "../@ddc-file/util.ts" ;
@@ -77,7 +79,7 @@ export class Source extends BaseSource<Params> {
77
79
const mode = p . mode === "os"
78
80
? ( Deno . build . os === "windows" ? "win32" : "posix" )
79
81
: p . mode ;
80
- const path = mode === "posix" ? univPath . posix : univPath . win32 ;
82
+ const path = mode === "posix" ? posix : windows ;
81
83
const maxOfMax = Math . max (
82
84
p . cwdMaxItems ,
83
85
p . bufMaxItems ,
You can’t perform that action at this time.
0 commit comments