package patdiff

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

Install

Dune Dependency

Authors

Maintainers

Sources

v0.16.1.tar.gz
md5=ed1fd8166e2e99774432c1e28515f37e
sha512=7833f95ce42eeb17ecbef514eab13a37a0ab125b3c6e7e8af09c5b0efa3be6b971c6c4a40f3d809f1c254c8bc720ddaa46b54ff0514ddb9db0f5be03d99f5fd0

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.

    *)
include Ppx_compare_lib.Comparable.S with type t := t
Sourceval compare : t Base__Ppx_compare_lib.compare
include Ppx_compare_lib.Equal.S with type t := t
Sourceval equal : t Base__Ppx_compare_lib.equal
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.