internal.dir.empty: Check if a directory is empty

.dir.emptyR Documentation

Check if a directory is empty

Description

Checks if the directory listing by .list.files.and.dirs is empty.

Usage

.dir.empty(path)

Arguments

path

Character vector containing the path to the directory to check.

Value

Logical indicating whether the passed directory was empty.


johnmyleswhite/ProjectTemplate documentation built on April 29, 2024, 7:17 a.m.