Files
SnapOtter/.gitattributes
SnapOtterandGitHub 991c981529 fix: make OCR portable and reliable across AMD64 and ARM64 (#519)
* fix: make OCR portable and reliable

* fix: harden OCR installation portability

* fix: pin OCR partials across downloads

* fix: make OCR execution reliably asynchronous

* fix: harden OCR portability and docs routes

* fix: preserve decoder and docs safeguards
2026-07-15 03:34:24 +08:00

33 lines
907 B
Plaintext

# Ensure shell scripts, Python, and Dockerfiles always use LF line endings.
# Without this, git on Windows (core.autocrlf=true) will check out .sh files
# with CRLF, causing "bad interpreter" errors when Docker runs entrypoint.sh.
* text=auto
*.sh text eol=lf
Dockerfile* text eol=lf
*.py text eol=lf
*.ts text eol=lf
*.tsx text eol=lf
*.json text eol=lf
*.yaml text eol=lf
*.yml text eol=lf
*.md text eol=lf
# Binary files — never mangle
*.png binary
*.jpg binary
*.jpeg binary
*.gif binary
*.ico binary
*.pdf binary
*.woff binary
*.woff2 binary
*.ttf binary
*.otf binary
*.eot binary
*.pth binary
*.onnx binary
# This frozen OCR transcript preserves upstream trailing spaces byte-for-byte.
tests/fixtures/ocr-real/ground-truth/clinocr-poor-t7-s2.txt whitespace=-trailing-space