cavatica_file_from_filepath: File and FileList Operations

View source: R/FileQueries.R.R

cavatica_file_from_filepathR Documentation

File and FileList Operations

Description

Finds files from filepaths: designed to be vectorised and efficient with respect to api calls How it works is if you parse multiple filepaths with shared folders in their history, this fuction will remembar paths to shared folders so we don't have to re-lookup the same folders over and over.

Usage

cavatica_file_from_filepath(project, filepaths, return_ids = FALSE)

Arguments

project

a cavatica project object

filepaths

the filepaths to files you want retrieve (character)

return_ids

return file ids instead of file objects (boolean)

Details

This is usually more efficient than spending forever building a cache which has to be updated whenever new files are added to the volume.

Value

A Files object or a list of Files Objects.


selkamand/utilitybeltcavatica documentation built on April 26, 2023, 4:18 p.m.