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

Method run_push_on

atomic-cli/src/commands/stash.rs:388–396  ·  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

386 ///
387 /// This is the public entry point for programmatic stash push.
388 pub fn run_push_on(
389 &self,
390 repo: &mut Repository,
391 message: Option<String>,
392 include_untracked: bool,
393 keep: bool,
394 ) -> CliResult<()> {
395 self.run_push(repo, message, include_untracked, keep)
396 }
397
398 /// Execute stash push (save changes).
399 fn run_push(

Callers 1

runMethod · 0.80

Calls 1

run_pushMethod · 0.80

Tested by

no test coverage detected