0.5.24 • Published 6 years ago

wfilesfiltersurrogate v0.5.24

Weekly downloads
4
License
MIT
Repository
github
Last release
6 years ago

wFilesFilterSurrogate

Filter that works same like original provider, but additionally updates it own files tree cache. To perform behavior of original provider filter wraps its methods.

Installation

npm install wfilesfiltersurrogate

Usage

Options

Please visit wFiles for information about providers.

Example #1
var rootPath = 'path/to/directory';
var filesTree = _.FileFilter.Surrogate.filesTreeMake( rootPath );
var filter = _.FileFilter.Surrogate
({
  tree : filesTree,
  original : _.FileProvider.Extract(),
  rootPath : rootPath
});

/* getting files list using absolute path */
var files = filter.directoryRead( rootPath );
console.log( files );
0.5.24

6 years ago

0.5.23

6 years ago

0.5.22

6 years ago

0.5.21

6 years ago

0.5.20

6 years ago

0.5.19

6 years ago

0.5.18

6 years ago

0.5.17

6 years ago

0.5.16

6 years ago

0.5.15

6 years ago

0.5.14

7 years ago

0.5.13

7 years ago