Skip to content

Path("~") should extend to home directory #28

Description

@WebFreak001
  • Path("~") -> Path("/home/user")
  • Path("~/.config/foo") -> Path("/home/user/.config/foo")
  • Path("~user2") -> Path("/home/user2")
  • Path("~custom_home_user") -> Path("/var/www")

see std.path.expandTilde and reading /etc/passwd or using the functions from the core.sys module thingy
on windows its a bit more complicated

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