FileProvider: FileProvider

Description Usage Arguments Format Details Examples

Description

FileProvider

Usage

1

Arguments

locale

(character) the locale to use. See file_provider_locales for locales supported (default: en_US)

Format

An object of class character of length 1.

Details

Methods

Examples

1
2
3
4
5
6
7
8
9
(x <- FileProvider$new())
x$locale
x$mime_type()
x$file_extension()
x$file_name()
x$file_path()
x$file_path(depth = 2)
x$file_path(depth = 3)
x$file_path(depth = 6)

ropenscilabs/charlatan documentation built on Oct. 19, 2018, 9:29 p.m.