History

change!: rename `git()` to `builtin()` (#450)

Sebastian Thiel committed 4 years ago

Commit 783a1a71 parent f86364c1 file · +2 −2Browse files

Showing the changes to git-credentials/src (1 of 1 file). Show all

Unified · Split

git-credentials/src/lib.rs+2−2
@@ -38,10 +38,10 @@ pub mod program; · 37 unmodified lines
38///38///
39pub mod helper;39pub mod helper;
40 40
41/// Call the `git credential` helper program performing the given `action`, which reads all context from the configuration.41/// Call the `git credential` helper program performing the given `action`, which reads all context from the git configuration.
42///42///
43/// See [`invoke()`][helper::invoke()] for a more flexible implementation.43/// See [`invoke()`][helper::invoke()] for a more flexible implementation.
44pub fn git(action: helper::invoke::Action) -> helper::Result {44pub fn builtin(action: helper::invoke::Action) -> helper::Result {
45 invoke_outcome_to_helper_result(45 invoke_outcome_to_helper_result(
46 helper::invoke(Program::from_kind(program::Kind::Builtin), &action)?,46 helper::invoke(Program::from_kind(program::Kind::Builtin), &action)?,
47 action,47 action,