MCPcopy Create free account
hub / github.com/atomicdotdev/atomic / run_push_on

Method run_push_on

atomic-cli/src/commands/stash.rs:259–267  ·  view source on GitHub ↗

Execute stash push from another command (e.g., `view switch --stash`). This is the public entry point for programmatic stash push.

(
        &self,
        repo: &mut Repository,
        message: Option<String>,
        include_untracked: bool,
        keep: bool,
    )

Source from the content-addressed store, hash-verified

257 ///
258 /// This is the public entry point for programmatic stash push.
259 pub fn run_push_on(
260 &self,
261 repo: &mut Repository,
262 message: Option<String>,
263 include_untracked: bool,
264 keep: bool,
265 ) -> CliResult<()> {
266 self.run_push(repo, message, include_untracked, keep)
267 }
268
269 /// Execute stash push (save changes).
270 fn run_push(

Callers 1

runMethod · 0.80

Calls 1

run_pushMethod · 0.80

Tested by

no test coverage detected