Lines Matching refs:Status
22 static void copyStatusToFileData(const vfs::Status &Status,
24 Data.Name = Status.getName();
25 Data.Size = Status.getSize();
26 Data.ModTime = Status.getLastModificationTime().toEpochTime();
27 Data.UniqueID = Status.getUniqueID();
28 Data.IsDirectory = Status.isDirectory();
29 Data.IsNamedPipe = Status.getType() == llvm::sys::fs::file_type::fifo_file;
31 Data.IsVFSMapped = Status.IsVFSMapped;
55 llvm::ErrorOr<vfs::Status> Status = FS.status(Path);
56 if (!Status) {
60 copyStatusToFileData(*Status, Data);
79 llvm::ErrorOr<vfs::Status> Status = (*OwnedFile)->status();
80 if (Status) {
82 copyStatusToFileData(*Status, Data);