api

types.ch

Declarations in types.ch

1 declarationsfs

Declarations

Public only
fs#
Publicnamespace
namespace fs
FsError#
Publicvariant
variant FsError { var Io : FsError var NotFound : FsError var AlreadyExists : FsError var PermissionDenied : FsError var InvalidInput : FsError var NotADirectory : FsError var IsADirectory : FsError var WouldBlock : FsError var PathTooLong : FsError var Unsupported : FsError var Other : FsError }
message#
Publicfunction
func message(self : &FsError) : string
Metadata#
Publicstruct
struct Metadata { var is_file : bool var is_dir : bool var is_symlink : bool var len : size_t var modified : i64 var accessed : i64 var created : i64 var perms : u32 }
OpenOptions#
Publicstruct
struct OpenOptions { var read : bool var write : bool var append : bool var create : bool var create_new : bool var truncate : bool var binary : bool }
File#
Publicstruct
struct File { var _unix : var valid : bool }