1
0
Fork 0
Commit Graph

13 Commits (9912202f8d121f9cfd1aaa70e32b687802a2a466)

Author SHA1 Message Date
Vallie Joseph e566d60a34 fixing linting issues 2022-12-08 19:50:32 +00:00
Vallie Joseph 3f2a760a30 updating test and io package 2022-12-08 05:38:33 +00:00
Luke Tomlinson 4a2602dd58
Fix test for windows 2022 (#1039) 2022-03-31 14:39:39 -04:00
Thomas Boop c9af6bb1b3
Update escaping rules in io's rmRF (#828)
* Better Handling of escaping in rmrf
2021-06-07 14:16:16 -04:00
Luke Tomlinson 3491e2eeea
Add option to cp to only copy contents of directory (#788)
* Add option to not copy source directory

* Cleanup

* Update condition to be consistent
2021-05-05 09:40:12 -04:00
Thomas Boop 15fef78171
Simplify mkdirP implementation (#781)
Co-authored-by: Linus Unnebäck <linus@folkdatorn.se>
2021-04-28 14:38:41 -04:00
Sora Morimoto bd9017e99f
Add findInPath method to locate all matching executables in the system path (#609)
Signed-off-by: Sora Morimoto <sora@morimoto.io>
2021-04-02 12:22:30 -04:00
Josh Soref 7257597d73
Spelling (#431)
* spelling: absolute

* spelling: content

* spelling: received

* spelling: sanitizes
2020-04-27 09:13:56 -04:00
Josh Gross 8a4134761f Update to latest typescript version (#274) 2019-12-27 19:42:30 -05:00
Josh Soref ad054c855d Spelling (#72)
* spelling: check in

* spelling: compatibility

* spelling: definitely

* spelling: does not

* spelling: maintaining

* spelling: nonexistent

* spelling: precede

* spelling: response

* spelling: was not
2019-08-21 15:31:44 -04:00
Danny McCormick d919136160
Fix cp and mv (#26) 2019-07-09 09:56:01 -04:00
Danny McCormick 8ebbf59cb3
Copy file into directory (#11)
* Copy file into directory

* Add test and check if file exists before stating

* Format
2019-05-28 13:57:16 -04:00
Danny McCormick 08db5110c6
Add io (#5)
* Add io lib

* io cleanup

* Run format script

* Fix lint errors with autofix

* Fix equality lint errors

* Rename ioUtil to io-util

* Add no-import-requires

* Run auto-fix lint

* Remove lint errors

* Use Boolean() to convert options

- `CopyOptions` on `cp` now defaults to empty
- Setting option values is easier now

* Rewrite packages/io to be fully async

* Move IS_WINDOWS into ioUtil

* DRY up cp/mv by moving shared code into move function

* Remove unc support, change isDirectory call to stat

* Tighter try catches

* more concise extensions search

* Allow isDirectory to be stat or lstat

* format

* Shell out to rm -rf

* Remove unc comment

* Export fs.promises from io-util

* Remove unknown error message

* Create an optimistic mkdirp

* Update io-util.ts

* Update io-util.ts

* Update io.test.ts

* Fix tests for mkdirP
2019-05-22 16:05:34 -04:00