process_file: Process file

View source: R/files.R

process_fileR Documentation

Process file

Description

It calls find_pattern on given file and return detected markers or NULL.

Usage

process_file(filepath, patterns)

Arguments

filepath

character with

patterns

vector of characters with given patterns to detect, e.g. c("TODO", "BUG")

Value

list of markers (which are lists describing properties of detected item from find_pattern)


todor documentation built on Oct. 30, 2026, 1:07 a.m.

Related to process_file in todor...