Structs

UnstableChecker is a struct so it can be placed inside GothamState; using type alias for a bool could work, but there’s a high chance that there might be another type alias pointing to a bool, which would override previously used alias.

Traits

Functions

Similar to std::fs::canonicalize() but strips UNC prefixes on Windows.

Helper for checking unstable features. Used for sync ops.

Helper for checking unstable features. Used for async ops.

Determine if the supplied content type is considered compressible

Normalize all intermediate components of the path (ie. remove “./” and “../” components). Similar to fs::canonicalize() but doesn’t resolve symlinks.