enqueue: Add a file or folder to the server queue.

Description Usage Arguments Details Value Author(s) See Also Examples

Description

Add a file or folder to the server queue.

Usage

1
enqueue(path, part1, ...)

Arguments

path

the full path to the file or directory.

part1

if present, a string to add to the name of the new path.

...

if present, additional strings to add to the name of the new path.

Details

Items specified in part1 and ... are appended to the path, separated by MOTUS_QUEUE_SEP (defaults to ',').

After this call, the file or directory will no longer exist at the same location, but will be moved into the server's incoming directory. Also, the path to the item's new location will be appended to the global variable MOTUS_QUEUE.

Value

the new value of MOTUS_QUEUE (invisibly).

Author(s)

John Brzustowski jbrzusto@REMOVE_THIS_PART_fastmail.fm

See Also

server

Examples

1
2
## Not run:
enqueue("/tmp/mytmpurlfile")

jbrzusto/motus-R-package documentation built on May 18, 2019, 7:03 p.m.