Description Usage Arguments Examples
View source: R/renamed-files.R
Filenames in $ git log
containing the sequence =>
are viewed as renamed
files. There seems no other way around that, so this function will indicate
a file is a name change even if it may not be the case.
1 2 | is_name_change(changed_file,
reassignment_pattern = ".+\\s\\=\\>.+$")
|
changed_file |
The column |
reassignment_pattern |
The regular expression pattern that corresponds to renaming. |
1 2 3 4 | gitsum:::is_name_change(c(
"R/{gitsum.R => gitsum-package.R}", "API => API2",
"this is jus a file with => in it, it's not a name change"
))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.