pub enum StatusShow {
Index,
Workdir,
IndexAndWorkdir,
}
Enumeration of possible methods of what can be shown through a status
operation.
Only gives status based on HEAD to index comparison, not looking at
working directory changes.
Only gives status based on index to working directory comparison, not
comparing the index to the HEAD.
IndexAndWorkdir
The default, this roughly matches git status --porcelain
regarding
which files are included and in what order.
Performs copy-assignment from source
. Read more
Creates owned data from borrowed data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (toowned_clone_into
)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more
🔬 This is a nightly-only experimental API. (try_from
)
The type returned in the event of a conversion error.
🔬 This is a nightly-only experimental API. (try_from
)
🔬 This is a nightly-only experimental API. (get_type_id
)
this method will likely be replaced by an associated static