wd_isdir: Checks if the resource on WebDAV is a directory

View source: R/webdav.R

wd_isdirR Documentation

Checks if the resource on WebDAV is a directory

Description

Checks if the resource on WebDAV is a directory

Usage

wd_isdir(req, directory, silent = FALSE)

Arguments

req

request handle obtained from wd_connect

directory

path to directory

silent

if FALSE a warning is given if the directory does not exists

Value

TRUE if it is a directory, FALSE else

Examples

## Not run: 

wd_isdir(r, "testfile.R") # FALSE
wd_isdir(r, "mydirectory")   # TRUE


## End(Not run)

rdav documentation built on Nov. 1, 2025, 3:01 a.m.