Documentation
¶
Overview ¶
Package stash saves and restores working directory changes, storing deltas against baseline blobs in the checkout database (.fslckout).
Index ¶
- func Apply(ckout *sql.DB, repoDB *sql.DB, dir string, stashID int64) error
- func Clear(ckout *sql.DB) error
- func Drop(ckout *sql.DB, stashID int64) error
- func EnsureTables(ckout *sql.DB) error
- func Pop(ckout *sql.DB, repoDB *sql.DB, dir string) error
- func Save(ckout *sql.DB, repoDB *sql.DB, dir string, comment string) error
- type Entry
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Apply ¶
Apply restores stashed files to the working directory without removing the stash entry.
func EnsureTables ¶
EnsureTables creates the stash and stashfile tables if they don't exist.
Types ¶
Click to show internal directories.
Click to hide internal directories.