GitXplorerGitXplorer
T

fs-tools

public
20 stars
4 forks
5 issues

Commits

List of commits on branch master.
Unverified
ae0c1072ca464e61147586ea7030b7d3c76356c9

0.4.0

TTrott committed 6 years ago
Verified
588e907526dee0a9abef2991285f8da6111d2168

update lodash to quell npm audit warning (#25)

TTrott committed 6 years ago
Unverified
45fbedd2a3bac71dc66532dabe11d417a893ed69

typo fixes in README

TTrott committed 6 years ago
Unverified
9ab6a725b86e523075293c17f953b5165be406e7

no need to use full path since PATH is used in Makefile

TTrott committed 6 years ago
Unverified
678bec3d9e580c07648b848052bc459184ce04af

update URL locations in README

TTrott committed 6 years ago
Verified
216fd6ddb29df8bc40f96cea5aaa8039fefa2ce1

remove need to install dependencies globally (#24)

TTrott committed 6 years ago

README

The README file for this repository.

fs-tools

Build Status

Some file utilities. See API Documentation for detailed info.

This project is not maintained anymore because now actual and better alternatives are available.

Consider using another package:


walk(path, [pattern,] iterator[, callback])

Recursively scan files by regex pattern & apply iterator to each. Iterator applied only to files, not to directories. If given path is a file, iterator will be called against it (if pattern allows it).

walkSync(path, [pattern,] iterator)

Sync version of walk(). Throws exception on error.

findSorted(path, [pattern,] callback)

Recursively collects files by regex pattern (if given, all files otherwise).

remove(path, callback)

Recursively delete directory with all content.

removeSync(path)

Sync version of remove(). Throws exception on error.

mkdir(path, mode = '0755', callback)

Recursively make path.

mkdirSync(path, mode = '0755')

Sync version of mkdir(). Throws exception on error.

copy(src, dst, callback)

Copy file.

move(src, dst, callback)

Move file.

tmpdir([template])

Returns unique directory (at the moment of request) pathname.

License

MIT