package comby

  1. Overview
  2. Docs
A tool for structural code search and replace that supports ~every language

Install

Dune Dependency

Authors

Maintainers

Sources

1.4.1.tar.gz
md5=cd732f90664bc686eaa1134f42c8f7cd
sha512=81c7cd1d70cddee4d1679710a95c50d22f8dc60e48f24554009a5f944eb23e9124ca9aa99357b9879a5a60ca2dbcf976011f53afb442a7f15642e509255a0326

doc/comby.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.