fsa
File system auditor. Shows changes after previous audit session.
Last updated 13 years ago by gregof .
Repository · Original npm · Tarball · package.json
$ cnpm install fsa 
SYNC missed versions from official npm registry.

fbs

File system auditor. Show changes after previous audit session. Work over git.

Example

mkdir tmp touch tmp/1 fbs.init fbs.status -> {"modified":[],"added":["1"],"deleted":[]} fbs.commit fbs.status -> {"modified":[],"added":[],"deleted":[]} touch tmp/2 fbs.status -> {"modified":[],"added":["2"],"deleted":[]}

init(dirname, callback)

fbs.init('tmp', function (err) {
	if (err) {
		console.log(err)
	} else {
		// ...
	}
})

status(dirname, callback)

fbs.status('tmp', function (err, status) {
	if (err) {
		console.log(err)
	} else {
		console.log(JSON.stringify(status)) // -> {"modified":[],"added":["1"],"deleted":[]}
	}
})

commit(dirname, callback)

fbs.commit('tmp', function (err) {
	if (err) {
		console.log(err)
	} else {
		// ...
	}
})

Current Tags

  • 0.5.1                                ...           latest (13 years ago)

7 Versions

  • 0.5.1                                ...           13 years ago
  • 0.5.0                                ...           13 years ago
  • 0.4.0                                ...           13 years ago
  • 0.3.1                                ...           13 years ago
  • 0.3.0                                ...           13 years ago
  • 0.2.0                                ...           13 years ago
  • 0.1.0                                ...           14 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (0)
None
Dev Dependencies (2)
Dependents (1)

Copyright 2013 - present © cnpmjs.org | Home |