View Source egit (egit v0.1.0)
Link to this section Summary
Functions
Provide content or type and size information for repository objects
Provide content or type and size information for repository objects
Clone a remote repository to the local path
Fetch from origin
Fetch from given remote (e.g.
<<"origin">>
)Open a local git repository
Pull from origin
Pull from given remote (e.g.
<<"origin">>
)Link to this section Types
-type cat_file_opt() :: type | size | all.
-type commit_opt() ::
encoding | message | summary | time | time_offset | committer | author | header | tree_id.
-type repository() :: reference().
Link to this section Functions
-spec cat_file(repository(), binary()) -> {ok, term()} | {error, term()}.
-spec cat_file(repository(), binary(), cat_file_opt()) -> {ok, term()} | {error, term()}.
-spec clone(binary(), binary()) -> repository().
-spec commit_lookup(repository(), binary(), [commit_opt()]) -> #{commit_opt() => term()}.
-spec fetch(repository()) -> ok | {error, binary()}.
-spec fetch(repository(), binary()) -> ok | {error, binary()}.
<<"origin">>
)
-spec open(binary()) -> repository().
-spec pull(repository()) -> ok | {error, binary()}.
-spec pull(repository(), binary()) -> ok | {error, binary()}.
<<"origin">>
)