new StatObject.Dummy(filename)
Creates a new file stat object similar to Node's fs.stat method, this
dummy object is ideal for manipulating your own StatObjects
Parameters:
Name | Type | Description |
---|---|---|
filename |
string | the filename to set for the stat object
i.e. "drwxr-xr-x 2 userfoo groupbar 4096 Jun 12:43 filename" |