Home | History | Annotate | Download | only in Basic

Lines Matching refs:Path

16 #include "llvm/Support/Path.h"
25 /// path, using the cache to accelerate it if possible. This returns true if
26 /// the path does not exist or false if it exists.
34 FileSystemStatCache::get(StringRef Path, llvm::vfs::Status &Status,
43 RetCode = Cache->getStat(Path, Status, isFile, F, FS);
47 llvm::ErrorOr<llvm::vfs::Status> StatusOrErr = FS.status(Path);
61 auto OwnedFile = FS.openFileForRead(Path);
83 // If the path doesn't exist, return failure.
87 // If the path exists, make sure that its "directoryness" matches the clients
102 MemorizeStatCalls::getStat(StringRef Path, llvm::vfs::Status &Status,
106 auto err = get(Path, Status, isFile, F, nullptr, FS);
116 if (!Status.isDirectory() || llvm::sys::path::is_absolute(Path))
117 StatCalls[Path] = Status;