Fields

dir: Dir,

The containing directory. This can be used to operate directly on basename rather than path, avoiding error.NameTooLong for deeply nested paths. The directory remains open until next or deinit is called.

basename: []const u8,
path: []const u8,