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

View source: R/filter-files.R

is_in_gitfolderR Documentation

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)

Arguments

files

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

Value

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


seekr documentation built on June 8, 2025, 11:13 a.m.