Skip to content

sus::fs and sus::path #385

Open
Open
@danakj

Description

@danakj

Paths in C++ are a mess.

Some pointers on Windows: https://mastodon.gamedev.place/@AshleyGullen/111109299141510319

std has file paths support but does weird things with operators, and unclear how well it handles windows. Maybe we can build on top of it for good compat.

The std filesystem functions work with paths instead of file objects so its extremely vulnerable to TOCTOU vulns/bugs and needs to be replaced with a port of the Rust apis.

Metadata

Metadata

Assignees

No one assigned

    Labels

    designDesign of the library systems as a whole, such as conceptssafetyMemory safety improvements

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions