1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-27 01:29:14 -05:00
Commit graph

51 commits

Author SHA1 Message Date
Axetroy
ab5b0887cc feat(fs): add copy/copySync (#278) 2019-05-16 12:19:17 -04:00
Ryan Dahl
07ca4f9629
walk() should not use deprecated FileInfo.path (#398)
The walk() interface is change to return a WalkInfo object which
contains both the resolved filename and FileInfo object from stat.

The followSymlinks feature is disabled for now.
2019-05-14 17:14:08 -04:00
Axetroy
d097e319e8 fs: Remove completed todo item (#406) 2019-05-14 15:11:57 -04:00
Axetroy
b6a7b78535 Move posix and win implementations in fs/path/mod.ts to separate file (#397) 2019-05-13 12:32:33 -04:00
Alvaro
aa94463902 docs(fs): fix async iterator (#366) 2019-05-01 17:45:30 -04:00
Axetroy
d9a64c0a14 fs: fix ensureLink broken (#360)
Fixes #358
2019-04-27 10:14:56 -07:00
Vincent LE GOFF
4543b563a9 Eslint fixes (#356)
Make warnings fail
2019-04-24 07:41:22 -04:00
Axetroy
0a61800163 fs utils getFileInfoType() return undefined when not found (#341) 2019-04-23 17:42:02 -04:00
Axetroy
45eebed3bf fs: add ensureLink/ensureLinkSync (#353) 2019-04-22 11:35:14 -04:00
Axetroy
d2a558fcbd expose ensureSymlink in fs/mod.ts (#354) 2019-04-22 08:18:45 -04:00
Axetroy
8d1b01cfcf feat: add ensureSymlink/ensureSymlinkSync for fs modules (#268) 2019-04-21 15:23:44 -04:00
Axetroy
191e53a78b add writeFileStr and update documentation (#340) 2019-04-14 16:14:57 -04:00
Vincent LE GOFF
95ab4e2a3c Fix eslint warnings and small clean ups (#339) 2019-04-14 10:53:19 -04:00
Vincent LE GOFF
4d25cc1e35 doc: Add missing documentation (#336) 2019-04-13 15:30:56 -04:00
Vincent LE GOFF
b462ad2530 Added read file str (#276) 2019-04-13 15:26:09 -04:00
Vincent LE GOFF
bb92c44c64 EOL add mixed detection (#325) 2019-04-13 15:24:36 -04:00
Axetroy
290cbcb9da feat: add entry point file for fs modules (#272) 2019-04-08 09:29:44 -04:00
Vincent LE GOFF
1d53fb4d79 Added EOL detect / format (#289) 2019-04-07 04:06:07 +03:00
Axetroy
24f41f67bd fix: ensure exists file/dir must be the same type or it will throw error (#294) 2019-04-07 04:01:23 +03:00
Vincent LE GOFF
a0ff487a12 Fixing jsdoc example padding (#322) 2019-04-04 05:58:16 -04:00
Axetroy
a00c51b05b remove unnecessary path.resolve in move/readJson/writeJson (#292) 2019-03-19 13:23:22 -04:00
Axetroy
59adafe867 fix: wrong usage of assertThrowsAsync which without await keyword (#295) 2019-03-19 13:22:33 -04:00
Vincent LE GOFF
0bb040e8d4 Test reorganization (#290) 2019-03-18 12:49:54 -04:00
Axetroy
264a51c093 fix: fs.exists not work for symlink (#291) 2019-03-18 12:34:54 -04:00
Vincent LE GOFF
b699fa67be Documentation clean up (#288) 2019-03-18 11:08:01 -04:00
Axetroy
da4abcd9a3 extract internal method isSubdir to fs/utils.ts (#285) 2019-03-17 12:34:55 -04:00
Axetroy
e9d104a424 feat: add writeJson/writeJsonSync for fs modules (#271) 2019-03-14 10:26:12 -04:00
Vincent LE GOFF
1805c18ac7 Improve jsdoc (#277) 2019-03-14 10:24:54 -04:00
Axetroy
e4485d722a feat: add readJson/readJsonSync for fs modules (#269) 2019-03-13 12:06:40 -04:00
Axetroy
a1fcfb2744 feat: add move/moveSync for fs modules (#266) 2019-03-12 05:11:30 -04:00
Axetroy
9ae941338a feat: add ensureDir/ensureFile for fs modules (#264) 2019-03-12 01:52:43 -04:00
Yoshiya Hinosawa
61af419bbc fix: eslint errors (#265) 2019-03-12 01:51:51 -04:00
Axetroy
64d6bfca56 feat: add emptyDir for fs modules (#263) 2019-03-11 14:19:52 -04:00
Axetroy
142a1c6cf8 add fs/exists (#260) 2019-03-11 13:14:26 -04:00
Yoshiya Hinosawa
395392912d Use Deno global var instead of built-in "deno" module (#247) 2019-03-07 19:25:16 -05:00
Yoshiya Hinosawa
c67751659c Bump CI to v0.3.2 (#245)
replace Deno.platform with Deno.build
2019-03-07 09:07:12 -05:00
Ryan Dahl
4cf39d4a14
Rename assertEq to assertEquals (#242)
After some discussion it was found that assertEquals is more common
in JS (vs assertEqual, assertEq) and sounds better in the negated form:
assertNotEquals vs assertNE.
2019-03-06 19:42:24 -05:00
Vincent LE GOFF
e1d5c00279 Testing refactor (#240) 2019-03-06 16:39:50 -05:00
Andy Hayden
0fc13fffbd Replace deno.land/x/ with deno.land/std/ (#239) 2019-03-06 10:24:53 -05:00
Vincent LE GOFF
e2fd507cfd Refactoring + Enhance UTs + Enhance doc (#230) 2019-03-04 13:06:05 -05:00
Vincent LE GOFF
ccb452f775 fs.walk performance improvement (#221) 2019-03-02 14:57:37 -05:00
Vincent LE GOFF
0c3ba838fa Glob integration for the FS walker (#219) 2019-03-02 14:56:19 -05:00
Bert Belder
6063378a92 Change import { x } from "deno" to const { x } = Deno (#218) 2019-02-26 00:35:50 -05:00
Andy Hayden
3be908facd Add fs.walk (#192) 2019-02-15 11:20:59 -05:00
Dmitry Sharshakov
f2d23f8fcd Clean up tests (#176) 2019-02-08 12:23:51 -05:00
Dmitry Sharshakov
5440377495 Add missiong copyright headers (#177) 2019-02-07 11:45:47 -05:00
Yoshiya Hinosawa
b792fe8c72 Port prettier (#156) 2019-01-26 23:19:56 -05:00
Max Graey
47e6fc775a Clean up path module (#149) 2019-01-24 14:06:24 -05:00
Ryan Dahl
4283c26b89
Remove mkdirp - deno.mkdir is already recursive (#118) 2019-01-17 13:14:48 -05:00
木杉
41312ad39f refactor(mkdirp): reorg (#103) 2019-01-12 13:07:18 -05:00