MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / grepPath

Function grepPath

source/utility/map_grep.cpp:78–84  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

76}
77
78void grepPath(SearchParameters const& search, String path) {
79 if (File::isFile(path)) {
80 grepMap(search, path);
81 } else if (File::isDirectory(path)) {
82 grepDirectory(search, path);
83 }
84}
85
86MatchCriteria parseMatchCriteria(String const& criteriaStr) {
87 if (criteriaStr.contains("=")) {

Callers 1

mainFunction · 0.85

Calls 2

grepMapFunction · 0.85
grepDirectoryFunction · 0.85

Tested by

no test coverage detected