Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
fda73bc5
Commit
fda73bc5
authored
May 28, 2014
by
Ungureanu Marius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[Blob] Update documentation for is_binary.
filter.h tells me that we check the first 8000 bytes.
parent
5d91bea2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
include/git2/blob.h
+1
-1
No files found.
include/git2/blob.h
View file @
fda73bc5
...
@@ -210,7 +210,7 @@ GIT_EXTERN(int) git_blob_create_frombuffer(
...
@@ -210,7 +210,7 @@ GIT_EXTERN(int) git_blob_create_frombuffer(
*
*
* The heuristic used to guess if a file is binary is taken from core git:
* The heuristic used to guess if a file is binary is taken from core git:
* Searching for NUL bytes and looking for a reasonable ratio of printable
* Searching for NUL bytes and looking for a reasonable ratio of printable
* to non-printable characters among the first
4
000 bytes.
* to non-printable characters among the first
8
000 bytes.
*
*
* @param blob The blob which content should be analyzed
* @param blob The blob which content should be analyzed
* @return 1 if the content of the blob is detected
* @return 1 if the content of the blob is detected
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment