Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- >> Метод: makeDirectory
- Документация: function(path:string):boolean -- Creates a directory at the specified absolute path in the file system. Creates parent directories, if necessary.
- >> Метод: slot
- Документация: 5
- >> Метод: seek
- Документация: function(handle:userdata, whence:string, offset:number):number -- Seeks in an open file descriptor with the specified handle. Returns the new pointer position.
- >> Метод: list
- Документация: function(path:string):table -- Returns a list of names of objects in the directory at the specified absolute path in the file system.
- >> Метод: getLabel
- Документация: function():string -- Get the current label of the drive.
- >> Метод: write
- Документация: function(handle:userdata, value:string):boolean -- Writes the specified data to an open file descriptor with the specified handle.
- >> Метод: type
- Документация: filesystem
- >> Метод: exists
- Документация: function(path:string):boolean -- Returns whether an object exists at the specified absolute path in the file system.
- >> Метод: rename
- Документация: function(from:string, to:string):boolean -- Renames/moves an object from the first specified absolute path in the file system to the second.
- >> Метод: address
- Документация: d6dc6ac1-8a5b-483a-b048-c8d77475d176
- >> Метод: close
- Документация: function(handle:userdata) -- Closes an open file descriptor with the specified handle.
- >> Метод: fsnode
- Документация: table: 0x7f7900113e60
- >> Метод: size
- Документация: function(path:string):number -- Returns the size of the object at the specified absolute path in the file system.
- >> Метод: isDirectory
- Документация: function(path:string):boolean -- Returns whether the object at the specified absolute path in the file system is a directory.
- >> Метод: isReadOnly
- Документация: function():boolean -- Returns whether the file system is read-only.
- >> Метод: spaceUsed
- Документация: function():number -- The currently used capacity of the file system, in bytes.
- >> Метод: setLabel
- Документация: function(value:string):string -- Sets the label of the drive. Returns the new value, which may be truncated.
- >> Метод: spaceTotal
- Документация: function():number -- The overall capacity of the file system, in bytes.
- >> Метод: read
- Документация: function(handle:userdata, count:number):string or nil -- Reads up to the specified amount of data from an open file descriptor with the specified handle. Returns nil when EOF is reached.
- >> Метод: remove
- Документация: function(path:string):boolean -- Removes the object at the specified absolute path in the file system.
- >> Метод: open
- Документация: function(path:string[, mode:string='r']):userdata -- Opens a new file descriptor and returns its handle.
- >> Метод: lastModified
- Документация: function(path:string):number -- Returns the (real world) timestamp of when the object at the specified absolute path in the file system was modified.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement