| Class | VimMate::ListedTree |
| In: |
lib/vimmatelib/files.rb
|
| Parent: | Object |
A tree of files and directory. Can signal added and removed files.
Add a path: a file or a directory. If it‘s a directory, all files within this directory are also added
Add a block that will be called when a file is added or removed. The block take 2 arguments: method and file:
method: :add, :remove or :refresh file: the ListedFile or ListedDirectory that is affected
Add a block that will be called when too many files are added. The block takes 1 argument, the number of files that where added.