package plebeia

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

Module Fs_tree.MakeSource

File system via Plebeia

Parameters

Signature

Sourcemodule Name : Fs_intf.NAME with type t = Base.Name.t
Sourcemodule Path : Fs_intf.PATH with type name = Name.t

Path name, a list of names

Sourcetype name = Name.t

Type of file name

Sourcetype raw_cursor = Cursor.t

Type for the underlying cursor

Sourcetype tree

Type of Plebeia tree of a file or a directory

Type for the cursor based file system module, Fs

Type for the contents of a file or a directory

Hash of a file or a directory

Errors. The first parameter is the name of the failed API function

Sourceval make : raw_cursor -> Path.t -> tree

make raw_tree path wraps raw_tree which points to path and returns a tree

Sourceval empty : Context.t -> tree

empty context returns a tree pointing the empty file system

Sourceval context : tree -> Context.t

Returns the underlying context of the given tree

Sourceval get_raw_cursor : tree -> raw_cursor

Get the underlying raw cursor

Sourceval of_cursor : cursor -> tree

Conversions between cursor for `Fs` module

Sourceval to_cursor : tree -> cursor
Sourcemodule Op : sig ... end
Sourcemodule Op_lwt : sig ... end
Sourcemodule Vc : sig ... end

Version control

Sourcemodule Merkle_proof : sig ... end
OCaml

Innovation. Community. Security.