0.5.1 • Published 11 years ago

fsa v0.5.1

Weekly downloads
1,753
License
-
Repository
github
Last release
11 years ago

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 {
		// ...
	}
})
0.5.1

11 years ago

0.5.0

11 years ago

0.4.0

11 years ago

0.3.1

11 years ago

0.3.0

11 years ago

0.2.0

11 years ago

0.1.0

12 years ago