You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 7, 2021. It is now read-only.
Oliver Foster edited this page Jul 13, 2017
·
5 revisions
This class represents a file system location.
Stat {
constructor([location]), // Create and update if location not undefined
update([options]), // Fetch or update the file system properties of location
birthtime, // default: null, utc timestamp
ctime, // default: null, utc timestamp
mtime, // default: null, utc timestamp
Integer:size, // default: null, integer
isDir, // default: false, boolean
isFile, // default: false, boolean
exists, // default: false, boolean
getChildren([options]), // Fetch or update the children of location
Array[Stat]:children, // default: null
clone([cloneHash]) // Clone object, lookup and add to hash if available
}