This walks through the file, only loading a maximum of 4K of file data at
a time. Otherwise, it acts just like git_hashsig_create.
@param out_ The computed similarity signature.
@param path The path to the input file.
@param opts The signature computation options (see above).
@return 0 on success, git_error_code.GIT_EBUFS if the buffer doesn't contain enough data to
compute a valid signature (unless git_hashsig_option_t.GIT_HASHSIG_ALLOW_SMALL_FILES is set), or
error code.
Compute a similarity signature for a text file
This walks through the file, only loading a maximum of 4K of file data at a time. Otherwise, it acts just like git_hashsig_create.
@param out_ The computed similarity signature. @param path The path to the input file. @param opts The signature computation options (see above). @return 0 on success, git_error_code.GIT_EBUFS if the buffer doesn't contain enough data to compute a valid signature (unless git_hashsig_option_t.GIT_HASHSIG_ALLOW_SMALL_FILES is set), or error code.