Function: magit-snapshot-save

magit-snapshot-save is a natively compiled function defined in magit-stash.el.

Signature

(magit-snapshot-save INDEX WORKTREE UNTRACKED &optional REFRESH)

Source Code

;; Defined in /nix/store/irvbdy0zra0dn8fpd008f32x5ix6qm5v-emacs-packages-deps/share/emacs/site-lisp/elpa/magit-20261005.508/magit-stash.el
(defun magit-snapshot-save (index worktree untracked &optional refresh)
  (magit-stash-save (concat "WIP on " (magit-stash-summary))
                    index worktree untracked refresh t))