content-entry-filesystem
v7.1.1
Published
Content entries within the file system
Downloads
6,910
Readme
* Parameters
* filename
* isExistent
* isEmpty
* readStream
* writeStream
* getReadStream
* Parameters
* getWriteStream
* Parameters## FileSystemEntry**Extends StreamContentEntryMixin(ContentEntry)*A ContentEntry backed by a file.### Parameters name
string of the file
baseDir
string directory the file is located in### filenameAbsolute file path.Returns string ### isExistentCheck for presence of the entry.Returns Promise<boolean> ### isEmptyCheck is entry represents an empty file.Returns Promise<boolean> ### readStreamReturns Readable ### writeStreamReturns Writable ### getReadStream#### Parameters*options
Meta* deprecated: This is deprecated.### getWriteStream#### Parameters*options
Meta* deprecated: This is deprecated.# installWith npm do: ```shellnpm install content-entry ```# licenseBSD-2-Clause