Skip to contents

Public alias of the internal .complete_path. For a FilesDaf, returns the root directory on disk. For a chain whose last writer is a FilesDaf, returns that directory. Errors on dafs with no on-disk location.

Usage

complete_path(daf)

Arguments

daf

A DafReader.

Value

Character scalar (absolute path).

Examples

tmp <- tempfile("dafr-")
dir.create(tmp)
fd <- files_daf(tmp, mode = "w+", name = "fd")
complete_path(fd)
#> [1] "/tmp/RtmpKtWywT/dafr-1afd182a85f8"
unlink(tmp, recursive = TRUE)