Skip to content

Question: Is the return value of StatusEntry::path_bytes safe for OsStr::from_encoded_bytes_unchecked for a local repository from the same OS? #1200

Description

@spenserblack

I'm kind of assuming the answer is "yes" since I think path_bytes should always be a valid path string from the OS's filesystem, but I figured it would be better to ask people more knowledgeable about libgit2 and Rust.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions