s3_path_split: Split s3 path and uri

View source: R/file_system.R

s3_path_splitR Documentation

Split s3 path and uri

Description

Split s3 uri path to core components bucket, key and version id

Usage

s3_path_split(path)

Arguments

path

(character): A character vector of one or more paths or s3 uri

Value

list character vectors splitting the s3 uri path in "Bucket", "Key" and "VersionId"

Examples

## Not run: 
# Require AWS S3 credentials

s3_path_dir("s3://my_bucket1/hi.txt")

## End(Not run)

s3fs documentation built on Sept. 11, 2024, 6:48 p.m.