diff --git a/examples/tour.luau b/examples/tour.luau index e085425..0914fae 100644 --- a/examples/tour.luau +++ b/examples/tour.luau @@ -8,9 +8,9 @@ print("Directory structure:") reader:walk(function(entry, depth) local prefix = string.rep(" ", depth) local suffix = if not entry.isDirectory - then string.format(" (%d bytes), content: %s", entry.size, reader:extract(entry, { isString = true }) :: string) + then string.format(" (%d bytes), attrs: 0x%x, content: %s", entry.size, entry.attributes, reader:extract(entry, { isString = true }) :: string) else "" - print(prefix .. entry.name .. suffix) + print(prefix .. entry:getPath() .. suffix) end) print("\Children of `/`:")