Skip to content

Latest commit

 

History

History
22 lines (16 loc) · 621 Bytes

file.get.md

File metadata and controls

22 lines (16 loc) · 621 Bytes

file.get

The get function is used to retrieve information about a file or folder.

Sample

var infoFile = file.get("myFile.txt");
var infoFolder = file.get("myFolder");

API

Calling Returning
file. get ( path ) FileInfo
file. get ( path, withoutFolderLength ) FileInfo
Parameters Type Description
path String The relative file or folder path to the storage.
withoutFolderLength Boolean A flag to indicate whether to calculate folder size. The default value is false.