StatStruct

method is-socket() { return $.mode +& 0o140000 == 0o140000; } # ... method permissions() { return $.mode +& 0o777; } # ... method access() { return DateTime.new($.atime + $.atime_nsec / 1_000_000_000); } # ... }