docs(checkout): clarify how methods work

Add to docs that by default checkout processes all the files
This commit is contained in:
Aleksey Kulikov 2022-01-28 21:03:09 +03:00
parent ed62447eb2
commit 441dcac1d7

View file

@ -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({