Skip to content

Improve file listing API #2

@jkc

Description

@jkc

Root file listing methods should return some kind of file set struct that offers methods for interacting with said set.

Method suggestions:

  • sort (default name, or by other options: size, etc...)
  • strings (return slice of string URIs for each file)
  • filter (filter list by string/regex etc...)
  • files (return slice of vfs.File interfaces)

Should retain, or create, convenience methods allowing for direct return of strings and vfs.Files for common use cases to prevent excess boilerplate.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions