Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
getFilesPosted
Method · 0.95
Calls
1
exists
Method · 0.65
Tested by
no test coverage detected