Skip to content

Latest commit

 

History

History
25 lines (18 loc) · 772 Bytes

file.get.md

File metadata and controls

25 lines (18 loc) · 772 Bytes

file.get

The get function is established to get a file or folder information.

Sample

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

API

CallingReturning
file . get ( path )FileInfo
file . get ( path , withoutFolderLength )FileInfo
ParametersTypeDescription
pathStringThe relative file or folder path to the storage.
withoutFolderLengthBooleanA flag to get folder size or not. The default value is false.