package volgo

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

Module Vcs.File_contentsSource

Representing the raw contents of files on disk.

Sourcetype t = private string

This is a simple wrapper for the type string, used to increase type safety.

Sourceval compare : t -> t -> int
Sourceval equal : t -> t -> bool
Sourceval hash : t -> int
Sourceval seeded_hash : int -> t -> int
Sourceval sexp_of_t : t -> Volgo_stdlib.Sexp.t
Sourceval to_dyn : t -> Volgo_stdlib.Dyn.t
Sourceval create : string -> t

create file_contents returns a t representing the given file contents.

Sourceval to_string : t -> string

to_string s is a convenient wrapper for (s :> string) for use with map functions.