create_index: Create file index

Description Usage Arguments Value

Description

Create file index

Usage

1
2
create_index(path, pattern = NULL, all.files = FALSE, recursive = FALSE,
  verbose = TRUE)

Arguments

path

Directory to index. This can be be the current directory (".") or any other.

pattern

An optional pattern (passed to dir)

all.files

An optional logical indicating of "dot files" should be included (passed to dir)

recursive

An optional logical indicating that the directory listing should be recursive.

verbose

Be verbose when computing hashes (which can take a while for very large directories).

Value

This is called for the side effect of creating an index file (.remotefile/index.json) within the directory path.


richfitz/remotefile documentation built on May 27, 2019, 8:29 a.m.