Documentation
¶
Index ¶
Constants ¶
const EmptyFolder = "This folder is empty"
EmptyFolder is the message of a folder without children.
Variables ¶
This section is empty.
Functions ¶
func Fetch ¶
func Fetch(ctx context.Context, client *apiclient.ClientWithResponses, id string) (apiclient.ReaditemResult, error)
Fetch reads the folder ("" the root) then its children through GET /api/items.
func Output ¶
func Output(folder apiclient.ReaditemResult, rows []apiclient.DomainItem, cursor int, empty string) string
Output renders a folder like `show folder`: the header from the whole folder, then rows (the finder passes its filtered, scrolled window); cursor >= 0 marks that row as selected, empty shows when no row.
Types ¶
This section is empty.