Skip to contents

Utility function for fetching all project files from the Seven Bridges File system within Data Studio accompanied by associated metadata if available. The expected output is the data.frame containing all available information about the files, ready to be used and displayed within file pickers.

**Note:** The `xattrs` package is required for extended attribute support, which includes retrieving additional metadata. This package works only on Unix-based operating systems (e.g., Linux, macOS) and cannot be installed or used on Windows systems due to the lack of support for extended attributes functions on Windows. Therefore, the `get_all_project_files()` function will not work on Windows systems. For Unix-based systems, please install the `xattrs` package to utilize this function.

Usage

get_all_project_files(path, ...)

Arguments

path

Project files directory path.

...

Additional parameters that can be passed to the `list.files()` function that this function is relying on, like `pattern`, `include.dirs` etc. See more details on `?list.files`.

Value

Data.frame containing all project files with their names, paths, sizes and associated metadata fields if available.