Vcs.Trait
The traits that Vcs
depends on to implement its functionality.
Vcs uses the provider library in order not to commit to a specific implementation for the low level interaction with git. This works by defining a set of traits that constitute the low level operations needed by Vcs
.
Casual users of Vcs
are not expected to use this module directly. Rather this is used by implementers of providers for the Vcs
library.
module Add : sig ... end
module Branch : sig ... end
module Commit : sig ... end
module Config : sig ... end
module File_system : sig ... end
module Git : sig ... end
module Init : sig ... end
module Log : sig ... end
module Ls_files : sig ... end
module Name_status : sig ... end
module Num_status : sig ... end
module Refs : sig ... end
module Rev_parse : sig ... end
module Show : sig ... end
type t = [
| add
| branch
| commit
| config
| file_system
| git
| init
| log
| ls_files
| name_status
| num_status
| refs
| rev_parse
| show
]
The union of all traits defined in Vcs.