Skip to content

Commit 30f2f8a

Browse files
committed
docs(files): note SIZE column is approximate kilobytes
1 parent 7ee00c7 commit 30f2f8a

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

internal/cmd/file/view.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ import (
1515
var viewColumns = []output.Column{
1616
{Header: "ID", Path: "id"},
1717
{Header: "NAME", Path: "name"},
18+
// SIZE is the API's approximate kilobytes (ceil(bytes/1024)), not exact bytes.
1819
{Header: "SIZE", Path: "size"},
1920
{Header: "LINK", Path: "link"},
2021
}

internal/cmd/files/files.go

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -26,6 +26,7 @@ const listDefaultFields = "id,name,size"
2626
var listColumns = []output.Column{
2727
{Header: "ID", Path: "id"},
2828
{Header: "NAME", Path: "name"},
29+
// SIZE is the API's approximate kilobytes (ceil(bytes/1024)), not exact bytes.
2930
{Header: "SIZE", Path: "size"},
3031
}
3132

0 commit comments

Comments
 (0)