2.0.3 • Published 10 years ago

difffs v2.0.3

Weekly downloads
3
License
MIT
Repository
github
Last release
10 years ago

difffs

Fuse based filesystem that notifies you when changes happen

npm install -g difffs

Usage

difffs [directory] [mountpoint]

For example to mount your home folder to /tmp/mnt do

mkdir /tmp/mnt
difffs ~ /tmp/mnt

Now if you navigate to /tmp/mnt and edit/create a file or a folder the above command will print out the change

Programmatic API

You can also use it as a node module

var difffs = require('difffs')

// diff is a readable stream of changes
var diff = difffs('/Users/maf', '/tmp/mnt')

// remember to drain the stream - otherwise the fs will block
diff.on('data', function (change) {
  console.log('the filesystem changed', change)
})

Dependencies

See the fuse-bindings requirements

License

MIT

2.0.3

10 years ago

2.0.2

10 years ago

2.0.1

10 years ago

2.0.0

10 years ago

1.3.3

10 years ago

1.3.2

10 years ago

1.3.1

10 years ago

1.3.0

10 years ago

1.2.2

10 years ago

1.2.1

10 years ago

1.2.0

10 years ago

1.1.1

10 years ago

1.1.0

11 years ago

1.0.1

11 years ago

1.0.0

11 years ago