package ceph

  1. Overview
  2. Docs

Module CephSource

Sourcemodule C : sig ... end
module S : sig ... end
Sourceexception Error of string * int
Sourceexception Enoent of string * string option
Sourceval check : ?path:string -> string -> int -> unit
Sourceval check1 : string -> ('a -> int) -> 'a -> unit
Sourceval check2 : string -> ('a -> 'b -> int) -> 'a -> 'b -> unit
Sourceval check3 : string -> ('a -> string -> 'b -> int) -> 'a -> string -> 'b -> unit
Sourcetype fd = int
Sourceval version : unit -> string * (int * int * int)
Sourceval version_string : unit -> string
Sourceval version_number : unit -> int * int * int
Sourceval create : ?id:string -> unit -> C.mount_info Ctypes.structure Ctypes_static.ptr
Sourceval mount : ?root:string -> C.mount_info Ctypes.structure Ctypes_static.ptr -> unit
Sourceval conf_read_file : ?path:string -> C.mount_info Ctypes.structure Ctypes_static.ptr -> unit
Sourceval conf_parse_env : ?var:string -> C.mount_info Ctypes.structure Ctypes_static.ptr -> unit
Sourceval mkdir : C.mount_info Ctypes.structure Ctypes_static.ptr -> string -> int -> unit
Sourceval mkdirs : C.mount_info Ctypes.structure Ctypes_static.ptr -> string -> int -> unit
Sourceval conf_set : C.mount_info Ctypes.structure Ctypes_static.ptr -> string -> string -> unit
Sourceval rename : C.mount_info Ctypes.structure Ctypes_static.ptr -> from:string -> target:string -> unit
Sourceval chmod : C.mount_info Ctypes.structure Ctypes_static.ptr -> string -> int -> unit
Sourceval chown : C.mount_info Ctypes.structure Ctypes_static.ptr -> string -> uid:int -> gid:int -> unit
Sourceval lchown : C.mount_info Ctypes.structure Ctypes_static.ptr -> string -> uid:int -> gid:int -> unit
Sourcetype file_type =
  1. | BLK
    (*

    This is a block device.

    *)
  2. | CHR
    (*

    This is a character device.

    *)
  3. | DIR
    (*

    This is a directory.

    *)
  4. | FIFO
    (*

    This is a named pipe (FIFO).

    *)
  5. | LNK
    (*

    This is a symbolic link.

    *)
  6. | REG
    (*

    This is a regular file.

    *)
  7. | SOCK
    (*

    This is a UNIX domain socket.

    *)
  8. | UNKNOWN
    (*

    The file type could not be determined.

    *)
Sourcetype dirent = {
  1. inode : int64;
  2. typ : file_type;
  3. name : string;
}
Sourcemodule Dirent : sig ... end
Sourcetype open_flag =
  1. | O_RDONLY
  2. | O_WRONLY
  3. | O_RDWR
  4. | O_CREAT
  5. | O_EXCL
  6. | O_TRUNC
  7. | O_DIRECTORY
  8. | O_NOFOLLOW
Sourceval int_of_open_flag : open_flag -> int Structs_generated.const
Sourceval int_of_open_flags : open_flag list -> int
Sourceval openfile : C.mount_info Ctypes.structure Ctypes_static.ptr -> string -> open_flag list -> int -> int
Sourceval fallocate : C.mount_info Ctypes.structure Ctypes_static.ptr -> int -> int64 -> int64 -> unit
Sourceval fsync : C.mount_info Ctypes.structure Ctypes_static.ptr -> int -> dataonly:bool -> unit
Sourcetype statx = {
  1. stx_type : file_type;
  2. stx_size : int64;
  3. stx_mtime : int;
  4. stx_btime : int;
}
Sourcemodule Statx : sig ... end