Synchronous version of readBlobFile. Reads a file as a File object.
readBlobFile
File
The absolute path of the file to read.
An IOResult containing a File object.
IOResult
readBlobFile for the async version.
1.1.0
readBlobFileSync('/path/to/file.txt') .inspect(file => console.log(file.name, file.size, file.type)); Copy
readBlobFileSync('/path/to/file.txt') .inspect(file => console.log(file.name, file.size, file.type));
Synchronous version of
readBlobFile. Reads a file as aFileobject.