datakit-github
Abstraction of the GitHub API, suitable for DataKit clients
1024" x-on:close-sidebar="sidebar=window.innerWidth > 1024 && true">
Legend:
Library
Module
Module type
Parameter
Class
Class type
Library
Module
Module type
Parameter
Class
Class type
Library datakit-github
GitHub Diffs
type t = Snapshot.diff
The type for differences between GitHub states.
val commit_message : t -> string
commit_message d
is the commit message corresponding to the diff d
.
val empty : t
empty
is the empty diff.
val is_empty : t -> bool
is_empty d
is true if d
is empty.
val remove : t -> Elt.IdSet.t
remove d
are the elements in d
which needs to be deleted.
val apply : t -> Snapshot.t -> Snapshot.t
snapsho d s
applies d
on top of the snapshot s
.