lsStagedFiles: List Staged Files

Description Usage Arguments Value See Also

View source: R/lsStagedFiles.R

Description

This function lists all the staged files in a local repo.

Usage

1
2
3
4
5
6
7
8
lsStagedFiles(
  path_to_local_repo = NULL,
  modified = TRUE,
  deleted = TRUE,
  new_file = TRUE,
  renamed = TRUE,
  label = FALSE
)

Arguments

modified

PARAM_DESCRIPTION, Default: TRUE

deleted

PARAM_DESCRIPTION, Default: TRUE

new_file

PARAM_DESCRIPTION, Default: TRUE

renamed

PARAM_DESCRIPTION, Default: TRUE

label

If TRUE, returns the results with prefix of "modified:|deleted:|new file: file path"

Value

If staged files exist, a vector of all the staged file paths.

See Also

keep,map str_replace typewrite


patelm9/glitter documentation built on Sept. 21, 2020, 5:42 p.m.