struct

Noir::DirListing::Listing

Inherits Struct < Value < Object

error is what Dir.each_child raised, if it did. entries then holds the entries it yielded first — the walk processes those before recording the directory as unlistable, as it did when it listed inline. Anything other than a File::Error is carried here too, so the walk can re-raise it rather than wait on a reply that never comes.

Constructors

new(has_shard : Bool, entries : Array(Entry), error : Exception | Nil, has_cachedir_tag : Bool = false)
Source

Instance methods

clone
Source
copy_with(has_shard _has_shard = @has_shard, entries _entries = @entries, error _error = @error, has_cachedir_tag _has_cachedir_tag = @has_cachedir_tag)
Source
entries
error
has_cachedir_tag
has_shard