aboutsummaryrefslogtreecommitdiff
path: root/lib/git/git.go
diff options
context:
space:
mode:
authorShulhan <ms@kilabit.info>2026-01-09 00:37:21 +0700
committerShulhan <ms@kilabit.info>2026-01-09 00:38:08 +0700
commit34693c1b7ab126e1fbda3810eb46b735c350505c (patch)
treef2437def68eb031c9482d409804941edf70c8c62 /lib/git/git.go
parent0fde383e8f30a0d7504e7987f6a3ebe6a082d69a (diff)
downloadpakakeh.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