Skip to content

Consider Different Structure #5

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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