Skip to content

arlac77/content-entry-filesystem

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

npm License Typed with TypeScript bundlejs downloads GitHub Issues Build Status Styled with prettier Commitizen friendly Known Vulnerabilities Coverage Status * 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