Learn R Programming

seekr (version 0.1.3)

is_in_gitfolder: Check if Files Are Located in a .git Folder

Description

Identifies whether the provided file paths are located inside a .git directory.

This function assumes that the file paths are normalized beforehand (i.e., using forward slashes / even on Windows systems).

Usage

is_in_gitfolder(files)

Value

A logical vector indicating whether each file is located within a .git folder.

Arguments

files

A character vector of files to search (only for seek_in()).