Lines Matching defs:DirectoryEntry
238 struct DirectoryEntry { struct
239 using ResultT = iorap::expected<DirectoryEntry, DirectoryEntryError>;
240 using ObservableT = rx::observable<ResultT>;
242 static constexpr ino_t kInvalidIno = std::numeric_limits<ino_t>::max();
243 static constexpr auto kInvalidFileName = "";
246 std::string filename{kInvalidFileName};
248 ino_t d_ino{kInvalidIno};
250 unsigned char d_type{DT_UNKNOWN}; // Note: not seen outside of sentinel roots.
254 bool moved_from_{false};
255 size_t debug_counter_{0};
261 DirectoryEntry() noexcept { in DirectoryEntry() argument
266 DirectoryEntry(std::string filename, ino_t d_ino, unsigned char d_type) noexcept in DirectoryEntry() function
274 DirectoryEntry(const DirectoryEntry& other) noexcept { in DirectoryEntry() function
287 DirectoryEntry& operator=(const DirectoryEntry& other) noexcept { in operator =()
305 DirectoryEntry& operator=(DirectoryEntry&& other) noexcept { in operator =()
323 DirectoryEntry(DirectoryEntry&& other) noexcept { in DirectoryEntry() argument
338 static DirectoryEntry CreateSentinel(std::vector<std::string> children_paths) { in CreateSentinel()
361 std::vector<ResultT> GetChildrenEntries(borrowed<SystemCall*> system_call) const& { in GetChildrenEntries()
369 std::vector<ResultT> GetChildrenEntries(borrowed<SystemCall*> system_call) && { in GetChildrenEntries()
396 mutable std::vector<ResultT> children_paths_;
397 mutable bool children_initialized_{false};