package patdiff

  1. Overview
  2. Docs
File Diff using the Patience Diff algorithm

Install

Dune Dependency

Authors

Maintainers

Sources

patdiff-v0.14.0.tar.gz
sha256=fbe06078bdb58f3e0c165998ecb82de6983a173c62f0f9f3ae4e914e645204e1
md5=12319e1918cf37f2800fd5aef272b398

doc/patdiff.kernel/Patdiff_kernel/File_name/index.html

Module Patdiff_kernel.File_nameSource

Used to determine which name to use for a file, depending on the operation.

Sourcetype t =
  1. | Real of {
    1. real_name : string;
    2. alt_name : string option;
    }
    (*

    A name corresponding to a real file on disk. alt_name is used to display the file name and for file extension heuristics.

    *)
  2. | Fake of string
    (*

    A name not necessarily corresponding to a real file.

    *)
Sourceval compare : t -> t -> int
Sourceval equal : t -> t -> bool
Sourceval real_name_exn : t -> string

The name used to access the file system. May differ from the name used for display.

Sourceval display_name : t -> string

The name used for display. Also used for file extension heuristics.

If t has an alt_name, then that is used. Otherwise, the real name is used.

Sourceval to_string_hum : t -> string

Equivalent to display_name.

Sourceval append : t -> string -> t

Append a path component to each of real_name, alt_name.

Sourceval dev_null : t
OCaml

Innovation. Community. Security.