0
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-10-30 09:08:00 -04:00
denoland-deno/fs/path
Nayeem Rahman 2f90225c89 Implement expandGlob() and expandGlobSync() (denoland/deno_std#617)
fs/glob.ts:
- Improve prototypes for expandGlob() and expandGlobSync() from denoland/deno_std#604.
- Rename glob() to globToRegExp().
- Add normalizeGlob() and joinGlobs().
- Extract GlobToRegExpOptions from GlobOptions, remove the strict
  and filepath options.

fs/globrex.ts:
- Add GlobrexOptions.

fs/path/constants.ts:
- Add SEP_PATTERN.

fs/walk.ts:
- Add WalkOptions::includeFiles
- Default WalkOptions::includeDirs to true.
- Don't traverse directories matching a skip pattern.
- Remove walkSync()'s default root value.

prettier:
- Refactor to use expandGlob().

testing:
- Make findTestModules() an async generator.
Original: 8c90bd9d0b
2019-10-02 13:59:27 -04:00
..
basename_test.ts Rename assertEq to assertEquals (denoland/deno_std#242) 2019-03-06 19:42:24 -05:00
constants.ts Implement expandGlob() and expandGlobSync() (denoland/deno_std#617) 2019-10-02 13:59:27 -04:00
dirname_test.ts Rename assertEq to assertEquals (denoland/deno_std#242) 2019-03-06 19:42:24 -05:00
extname_test.ts Rename assertEq to assertEquals (denoland/deno_std#242) 2019-03-06 19:42:24 -05:00
interface.ts Port prettier (denoland/deno_std#156) 2019-01-26 23:19:56 -05:00
isabsolute_test.ts Rename assertEq to assertEquals (denoland/deno_std#242) 2019-03-06 19:42:24 -05:00
join_test.ts chore: Implement strict mode (denoland/deno_std#453) 2019-05-30 08:59:30 -04:00
mod.ts Move posix and win implementations in fs/path/mod.ts to separate file (denoland/deno_std#397) 2019-05-13 12:32:33 -04:00
parse_format_test.ts chore: Implement strict mode (denoland/deno_std#453) 2019-05-30 08:59:30 -04:00
posix.ts Move posix and win implementations in fs/path/mod.ts to separate file (denoland/deno_std#397) 2019-05-13 12:32:33 -04:00
README.md Replace deno.land/x/ with deno.land/std/ (denoland/deno_std#239) 2019-03-06 10:24:53 -05:00
relative_test.ts Rename assertEq to assertEquals (denoland/deno_std#242) 2019-03-06 19:42:24 -05:00
resolve_test.ts chore: Implement strict mode (denoland/deno_std#453) 2019-05-30 08:59:30 -04:00
test.ts Clean up tests (denoland/deno_std#176) 2019-02-08 12:23:51 -05:00
utils.ts chore: Implement strict mode (denoland/deno_std#453) 2019-05-30 08:59:30 -04:00
win32.ts chore: Implement strict mode (denoland/deno_std#453) 2019-05-30 08:59:30 -04:00
zero_length_strings_test.ts Rename assertEq to assertEquals (denoland/deno_std#242) 2019-03-06 19:42:24 -05:00

Deno Path Manipulation Libraries

Usage:

import * as path from "https://deno.land/std/fs/path.ts";