Skip to contents

This helper function is for use with BiocFileCache objects. Using it will copy the file directly to the cache without making any changes.

Usage

.cache_as_is(from, to)

Arguments

from

incoming path

to

the outgoing path

Value

TRUE if successful

Examples

M <- BiocFileCache_database(
    path = tempfile(),
    resource_name = "example",
    bfc_fun = .cache_as_is
)
#> Error in BiocFileCache_database(path = tempfile(), resource_name = "example",     bfc_fun = .cache_as_is): argument "source" is missing, with no default