Skip to content

Consider Different Structure #5

@superfunc

Description

@superfunc

Transferring a nice sugg from @gallais on reddit to here:

Wouldn't it make sense to store the path as:

  • a starting point (i.e. whether it's relative or absolute)
  • a list of directory names
  • (possibly) a file name and (possibly) an extension rather than a sum type of strings? In other words: expose the structure rather than storing validated raw data.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions