Lines Matching defs:DirectoryEntry
299 struct DirectoryEntry { struct
300 using ResultT = iorap::expected<DirectoryEntry, DirectoryEntryError>;
301 using ObservableT = rx::observable<ResultT>;
303 static constexpr ino_t kInvalidIno = std::numeric_limits<ino_t>::max();
304 static constexpr auto kInvalidFileName = "";
307 std::string filename{kInvalidFileName};
309 ino_t d_ino{kInvalidIno};
311 unsigned char d_type{DT_UNKNOWN}; // Note: not seen outside of sentinel roots.
315 bool moved_from_{false};
316 size_t debug_counter_{0};
322 DirectoryEntry() noexcept { in DirectoryEntry() argument
327 DirectoryEntry(std::string filename, ino_t d_ino, unsigned char d_type) noexcept in DirectoryEntry() argument
335 DirectoryEntry(const DirectoryEntry& other) noexcept { in DirectoryEntry() argument
348 DirectoryEntry& operator=(const DirectoryEntry& other) noexcept { in operator =()
366 DirectoryEntry& operator=(DirectoryEntry&& other) noexcept { in operator =()
384 DirectoryEntry(DirectoryEntry&& other) noexcept { in DirectoryEntry() function
399 static DirectoryEntry CreateSentinel(std::vector<std::string> children_paths) { in CreateSentinel()
422 std::vector<ResultT> GetChildrenEntries(borrowed<SystemCall*> system_call) const& { in GetChildrenEntries()
430 std::vector<ResultT> GetChildrenEntries(borrowed<SystemCall*> system_call) && { in GetChildrenEntries()
457 mutable std::vector<ResultT> children_paths_;
458 mutable bool children_initialized_{false};