diff options
author | Emile <hanemile@protonmail.com> | 2020-03-15 21:31:51 +0100 |
---|---|---|
committer | Emile <hanemile@protonmail.com> | 2020-03-15 21:31:51 +0100 |
commit | 163172851e0b2d2b1e107016e1ebeb1ead779c95 (patch) | |
tree | 1df735ffcbe75ac8821896cee0e82effc9868593 /src/structs/item.go | |
parent | 8f75b7285b7d1c48fb11124be6b85a1a7a5e28fe (diff) |
item
Diffstat (limited to 'src/structs/item.go')
-rw-r--r-- | src/structs/item.go | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/src/structs/item.go b/src/structs/item.go new file mode 100644 index 0000000..085ce5c --- /dev/null +++ b/src/structs/item.go @@ -0,0 +1,15 @@ +package structs + +// Items defines multiple files or directories +type Items []Item + +// Item describes a file or directory +type Item struct { + IsDir bool + Name string + HumanSize int64 + HumanModTime string + IsSymlink bool + URL string + Size string +} |