OpenFile
Open a File for read only.
primitive val OpenFile
Constructors
create
new val create() : OpenFile val^
Returns
- OpenFile val^
Public Functions
apply
fun box apply( from: FilePath val) : (File ref | FileOK val | FileError val | FileEOF val | FileBadFileNumber val | FileExists val | FilePermissionDenied val)
Parameters
- from: FilePath val
Returns
- (File ref | FileOK val | FileError val | FileEOF val | FileBadFileNumber val | FileExists val | FilePermissionDenied val)
eq
fun box eq( that: OpenFile val) : Bool val
Parameters
- that: OpenFile val
Returns
- Bool val
ne
fun box ne( that: OpenFile val) : Bool val
Parameters
- that: OpenFile val
Returns
- Bool val
© 2016-2020, The Pony Developers
© 2014-2015, Causality Ltd.
Licensed under the BSD 2-Clause License.
https://stdlib.ponylang.io/files-OpenFile