std.fs

Functions for working with the file system

Types

type Metadata = Metadata

type DirEntry = DirEntry

Values

let read_dir : String -> IO (Array DirEntry)

let dir_entry : {
    path : DirEntry -> String,
    metadata : DirEntry -> IO Metadata,
    file_name : DirEntry -> String
}

let metadata : {
    is_dir : Metadata -> std.types.Bool,
    is_file : Metadata -> std.types.Bool,
    len : Metadata -> Int
}