MCPcopy Create free account
hub / github.com/apache/solr / checkIsValidPath

Method checkIsValidPath

solr/core/src/java/org/apache/solr/cli/PostTool.java:435–437  ·  view source on GitHub ↗
(Path srcFile)

Source from the content-addressed store, hash-verified

433 }
434
435 private boolean checkIsValidPath(Path srcFile) {
436 return Files.exists(srcFile);
437 }
438
439 private static Collection<Path> listFiles(Path directory, Predicate<Path> fileFilter)
440 throws IOException {

Callers 1

getFilesPostedMethod · 0.95

Calls 1

existsMethod · 0.65

Tested by

no test coverage detected