Skip to content

Commit 10162fb

Browse files
committed
export Ignore
1 parent f0bd1e8 commit 10162fb

File tree

1 file changed

+20
-22
lines changed

1 file changed

+20
-22
lines changed

src/index.ts

+20-22
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,26 @@ import type {
1010
import { Glob } from './glob.js'
1111
import { hasMagic } from './has-magic.js'
1212

13+
export { escape, unescape } from 'minimatch'
14+
export type {
15+
FSOption,
16+
Path,
17+
WalkOptions,
18+
WalkOptionsWithFileTypesTrue,
19+
WalkOptionsWithFileTypesUnset,
20+
} from 'path-scurry'
21+
export { Glob } from './glob.js'
22+
export type {
23+
GlobOptions,
24+
GlobOptionsWithFileTypesFalse,
25+
GlobOptionsWithFileTypesTrue,
26+
GlobOptionsWithFileTypesUnset,
27+
} from './glob.js'
28+
export { hasMagic } from './has-magic.js'
29+
export { Ignore } from './ignore.js'
30+
export type { IgnoreLike } from './ignore.js'
31+
export type { MatchStream } from './walker.js'
32+
1333
/**
1434
* Syncronous form of {@link globStream}. Will read all the matches as fast as
1535
* you consume them, even all in a single tick if you consume them immediately,
@@ -184,28 +204,6 @@ export const sync = Object.assign(globSync, {
184204
iterate: globIterateSync,
185205
})
186206

187-
/* c8 ignore start */
188-
export { escape, unescape } from 'minimatch'
189-
export { Glob } from './glob.js'
190-
export type {
191-
GlobOptions,
192-
GlobOptionsWithFileTypesFalse,
193-
GlobOptionsWithFileTypesTrue,
194-
GlobOptionsWithFileTypesUnset,
195-
} from './glob.js'
196-
export { hasMagic } from './has-magic.js'
197-
export type { IgnoreLike } from './ignore.js'
198-
export type { MatchStream } from './walker.js'
199-
export type {
200-
Path,
201-
WalkOptionsWithFileTypesTrue,
202-
WalkOptionsWithFileTypesUnset,
203-
WalkOptions,
204-
FSOption,
205-
} from 'path-scurry'
206-
207-
/* c8 ignore stop */
208-
209207
export const glob = Object.assign(glob_, {
210208
glob: glob_,
211209
globSync,

0 commit comments

Comments
 (0)