Convenience operations on file descriptors.
primitive val _FileDes
new val create() : _FileDes val^
Set the FileMode for this fd.
fun box chmod( fd: I32 val, path: FilePath val, mode: FileMode box) : Bool val
Set the owner and group for this file. Does nothing on Windows.
fun box chown( fd: I32 val, path: FilePath val, uid: U32 val, gid: U32 val) : Bool val
Set the last access and modification times of the file to now.
fun box touch( fd: I32 val, path: FilePath val) : Bool val
Set the last access and modification times of the file to the given values.
fun box set_time( fd: I32 val, path: FilePath val, atime: (I64 val , I64 val), mtime: (I64 val , I64 val)) : Bool val
Set the Capsicum rights on the file descriptor.
fun box set_rights( fd: I32 val, path: FilePath val, writeable: Bool val = true) : None val ?
fun box eq( that: _FileDes val) : Bool val
fun box ne( that: _FileDes val) : Bool val
© 2016-2018, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/files-_FileDes