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 Provider.Trait.t +=
| Add : ('t, (module Add.S with type t = 't), [> add ]) Provider.Trait.t
| Branch : ('t, (module Branch.S with type t = 't), [> branch ]) Provider.Trait.t
| Commit : ('t, (module Commit.S with type t = 't), [> commit ]) Provider.Trait.t
| Config : ('t, (module Config.S with type t = 't), [> config ]) Provider.Trait.t
| File_system : ('t, (module File_system.S with type t = 't), [> file_system ])
Provider.Trait.t
| Git : ('t, (module Git.S with type t = 't), [> git ]) Provider.Trait.t
| Init : ('t, (module Init.S with type t = 't), [> init ]) Provider.Trait.t
| Log : ('t, (module Log.S with type t = 't), [> log ]) Provider.Trait.t
| Ls_files : ('t, (module Ls_files.S with type t = 't), [> ls_files ])
Provider.Trait.t
| Name_status : ('t, (module Name_status.S with type t = 't), [> name_status ])
Provider.Trait.t
| Num_status : ('t, (module Num_status.S with type t = 't), [> num_status ])
Provider.Trait.t
| Refs : ('t, (module Refs.S with type t = 't), [> refs ]) Provider.Trait.t
| Rev_parse : ('t, (module Rev_parse.S with type t = 't), [> rev_parse ])
Provider.Trait.t
| Show : ('t, (module Show.S with type t = 't), [> show ]) Provider.Trait.t
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.