package inspector | |
type Details struct { | |
Name string | |
Size int64 | |
Mode uint32 | |
// TODO: add native time format to the idl+vom | |
// Seconds since the start of the Unix epoch | |
ModUnixSecs int64 | |
// Nanoseconds in the current second | |
ModNano int32 | |
IsDir bool | |
} | |
type Inspector interface { | |
Ls(Glob string) stream<_, string> error | |
LsDetails(Glob string) stream<_, Details> error | |
} |