• Show log

    Commit

  • Hash : bef02d3e
    Author : Edward Thomson
    Date : 2021-11-01T10:57:28

    fs_path: introduce `str_is_valid`
    
    Provide a mechanism for users to limit the number of characters that are
    examined; `git_fs_path_str_is_valid` and friends will only examine up to
    `str->size` bytes.
    
    `git_fs_path_is_valid` delegates to these new functions by passing
    `SIZE_MAX` (instead of doing a `strlen`), which is a sentinel value
    meaning "look for a NUL terminator".