diff options
| author | Shulhan <ms@kilabit.info> | 2026-01-09 00:37:21 +0700 |
|---|---|---|
| committer | Shulhan <ms@kilabit.info> | 2026-01-09 00:38:08 +0700 |
| commit | 34693c1b7ab126e1fbda3810eb46b735c350505c (patch) | |
| tree | f2437def68eb031c9482d409804941edf70c8c62 /lib/git/git.go | |
| parent | 0fde383e8f30a0d7504e7987f6a3ebe6a082d69a (diff) | |
| download | pakakeh.go-34693c1b7ab126e1fbda3810eb46b735c350505c.tar.xz | |
lib/os: add function IsBinaryStream
The IsBinaryStream return true if the content has more than 75%
non-printable characters, excluding spaces.
While at it, replace the body of IsBinary with it and update the
test cases to use the internal files.
Diffstat (limited to 'lib/git/git.go')
0 files changed, 0 insertions, 0 deletions
