get_file_origin: Get the origin of a source file

Description Usage Arguments Value Examples

View source: R/source_file.R

Description

Return the origin of a file path

Usage

1

Arguments

file

A source_file object or character string

Value

file origin as a character string

Examples

1
2
fpath <- source_file('some/file/path.txt', origin='onedrive')
get_file_origin(fpath)

atorus-research/m365filer documentation built on Jan. 20, 2022, 12:04 a.m.