mirror of
https://github.com/floci-io/floci.git
synced 2026-12-03 10:17:48 -05:00
Adds fixtures written by the current code (Jackson 2) for every on-disk storage format, and a test that reads them back and writes them again, so a dependency change that alters what is on disk fails the build instead of shipping. The fixtures cover write-ahead logs with their snapshot, persistent and hybrid JSON files, partitioned shards and their journal, and real stored models from Secrets Manager, SQS, S3 and DynamoDB across two accounts and an unprefixed key. Each fixture's SHA-256 is checked, WAL and journal records must match byte for byte, and JSON files must match line for line and as a tree.
36 lines
697 B
Plaintext
36 lines
697 B
Plaintext
# Default: Treat all text files as LF (including .sh, .java, .py, etc.)
|
|
* text eol=lf
|
|
|
|
# Override: Windows-specific files must be CRLF
|
|
*.cmd text eol=crlf
|
|
*.bat text eol=crlf
|
|
mvnw.cmd text eol=crlf
|
|
|
|
# Denote all files that are truly binary and should not be modified.
|
|
*.png binary
|
|
*.jpg binary
|
|
*.jpeg binary
|
|
*.gif binary
|
|
*.ico binary
|
|
*.mov binary
|
|
*.mp4 binary
|
|
*.mp3 binary
|
|
*.flv binary
|
|
*.fla binary
|
|
*.swf binary
|
|
*.gz binary
|
|
*.jar binary
|
|
*.zip binary
|
|
*.7z binary
|
|
*.ttf binary
|
|
*.woff binary
|
|
*.woff2 binary
|
|
*.eot binary
|
|
*.otf binary
|
|
*.svg binary
|
|
*.pdf binary
|
|
|
|
# Storage-format fixtures are compared byte for byte.
|
|
src/test/resources/storage/**/*.wal binary
|
|
src/test/resources/storage/**/*.json -text
|