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

@spenserblack

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.

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