Skip to content

@ui5/fs/fsInterface

Methods

(static) default(reader) → {object}

Description: Wraps readers to access them through a Node.js fs styled interface.

Source: fs/lib/fsInterface.js, line 10

Parameters:
NameTypeDescription
reader@ui5/fs/AbstractReaderResource Reader or Collection
Returns:

Object with Node.js fs styled functions readFile, stat, readdir and mkdir

Type: object