gitProvenance: Identify git provenance of file within a project

Description Usage Arguments Details Value Examples

Description

Identify git provenance of file within a project

Usage

1
gitProvenance(project.id, filepath = 0)

Arguments

project.id

Project id to search for history within

filepath

File that will be hashed and search within Git history, File choose dialogue if not specified

Details

Requires a Git commit snapshot within the project

Value

list of 1) filename, 2) Git commit including commit message, date, author and 2) file info

Examples

1
2
3
4
5
## Not run: 
 projpath <- file.path(getProjectPath("adaprHome"),"Programs")
 gitProvenance("adaprHome",file.path(projpath,"read_data.R"))

## End(Not run) 

adapr documentation built on May 1, 2019, 7:05 p.m.