mirror of
https://github.com/SkinnyMind/libgit2dart.git
synced 2025-05-05 04:39:07 -04:00
docs(checkout): clarify how methods work
Add to docs that by default checkout processes all the files
This commit is contained in:
parent
ed62447eb2
commit
441dcac1d7
1 changed files with 8 additions and 4 deletions
|
@ -22,7 +22,8 @@ class Checkout {
|
||||||
///
|
///
|
||||||
/// [directory] is optional alternative checkout path to workdir.
|
/// [directory] is optional alternative checkout path to workdir.
|
||||||
///
|
///
|
||||||
/// [paths] is optional list of files to checkout.
|
/// [paths] is optional list of files to checkout (by default all paths are
|
||||||
|
/// processed).
|
||||||
///
|
///
|
||||||
/// Throws a [LibGit2Error] if error occured.
|
/// Throws a [LibGit2Error] if error occured.
|
||||||
static void head({
|
static void head({
|
||||||
|
@ -51,7 +52,8 @@ class Checkout {
|
||||||
///
|
///
|
||||||
/// [directory] is optional alternative checkout path to workdir.
|
/// [directory] is optional alternative checkout path to workdir.
|
||||||
///
|
///
|
||||||
/// [paths] is optional list of files to checkout.
|
/// [paths] is optional list of files to checkout (by default all paths are
|
||||||
|
/// processed).
|
||||||
///
|
///
|
||||||
/// Throws a [LibGit2Error] if error occured.
|
/// Throws a [LibGit2Error] if error occured.
|
||||||
static void index({
|
static void index({
|
||||||
|
@ -84,7 +86,8 @@ class Checkout {
|
||||||
///
|
///
|
||||||
/// [directory] is optional alternative checkout path to workdir.
|
/// [directory] is optional alternative checkout path to workdir.
|
||||||
///
|
///
|
||||||
/// [paths] is optional list of files to checkout.
|
/// [paths] is optional list of files to checkout (by default all paths are
|
||||||
|
/// processed).
|
||||||
///
|
///
|
||||||
/// Throws a [LibGit2Error] if error occured.
|
/// Throws a [LibGit2Error] if error occured.
|
||||||
static void reference({
|
static void reference({
|
||||||
|
@ -129,7 +132,8 @@ class Checkout {
|
||||||
///
|
///
|
||||||
/// [directory] is optional alternative checkout path to workdir.
|
/// [directory] is optional alternative checkout path to workdir.
|
||||||
///
|
///
|
||||||
/// [paths] is optional list of files to checkout.
|
/// [paths] is optional list of files to checkout (by default all paths are
|
||||||
|
/// processed).
|
||||||
///
|
///
|
||||||
/// Throws a [LibGit2Error] if error occured.
|
/// Throws a [LibGit2Error] if error occured.
|
||||||
static void commit({
|
static void commit({
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue