filter_by_file_extension: Filter commit files by extension

View source: R/filter.R

filter_by_file_extensionR Documentation

Filter commit files by extension

Description

Filters a data.table containing filepaths using the specified extensions

Usage

filter_by_file_extension(dt_file, extension, file_column_name)

Arguments

dt_file

any data.table containing filepaths

extension

a character vector of extensions (e.g. c(py,java)) to *keep* in the table

file_column_name

a string indicating the column name which contains filepaths

Value

a data.table which contains only filepaths with the specified extensions

See Also

parse_gitlog and parse_dependencies to create dt_file


sailuh/kaiaulu documentation built on Dec. 10, 2024, 3:14 a.m.