Skip to contents

Strip the 'blob part' of a GitHub URL so that it is a path relative to a local clone of the associated repo.

Usage

strip_blob_github(urls)

Arguments

urls

Character vector of GitHub URLs in blob storage

Examples

strip_blob_github("https://github.com/canmod/iidda-tools/blob/main/R/iidda/R/github_parsing.R")
#> [1] "R/iidda/R/github_parsing.R"