package datakit-server

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Virtual filesystem.

A virtual filesystem is an abstract description of files, directoires, inodes and error codes.

module Error : sig ... end

Error codes.

type 'a or_err = ('a, Error.t) Result.result Lwt.t

The type of errors.

val ok : 'a -> 'a or_err

ok x is Lwt.return (Ok x)

val error : ('a, unit, string, 'b or_err) format4 -> 'a

error fmt is Lwt.return (Error <fmt>).

type perm = [
  1. | `Normal
  2. | `Exec
]
type metadata = {
  1. length : int64;
  2. perm : perm;
}
module File : sig ... end

File operations.

module Dir : sig ... end

Directory operations.

module Inode : sig ... end

Inode.t operations.

module Logs : sig ... end
OCaml

Innovation. Community. Security.