mattermost-community-enterp.../vendor/github.com/andybalholm/brotli
Claude ec1f89217a Merge: Complete Mattermost Server with Community Enterprise
Full Mattermost server source with integrated Community Enterprise features.
Includes vendor directory for offline/air-gapped builds.

Structure:
- enterprise-impl/: Enterprise feature implementations
- enterprise-community/: Init files that register implementations
- enterprise/: Bridge imports (community_imports.go)
- vendor/: All dependencies for offline builds

Build (online):
  go build ./cmd/mattermost

Build (offline/air-gapped):
  go build -mod=vendor ./cmd/mattermost

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2025-12-17 23:59:07 +09:00
..
matchfinder Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
.gitignore Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
backward_references_hq.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
backward_references.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
bit_cost.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
bit_reader.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
bitwriter.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
block_splitter_command.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
block_splitter_distance.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
block_splitter_literal.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
block_splitter.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
brotli_bit_stream.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
cluster_command.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
cluster_distance.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
cluster_literal.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
cluster.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
command.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
compress_fragment_two_pass.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
compress_fragment.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
constants.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
context.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
decode.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
dictionary_hash.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
dictionary.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
encode.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
encoder_dict.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
encoder.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
entropy_encode_static.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
entropy_encode.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
fast_log.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
find_match_length.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
h5.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
h6.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
h10.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
hash_composite.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
hash_forgetful_chain.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
hash_longest_match_quickly.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
hash_rolling.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
hash.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
histogram.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
http.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
huffman.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
LICENSE Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
literal_cost.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
memory.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
metablock_command.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
metablock_distance.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
metablock_literal.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
metablock.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
params.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
platform.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
prefix_dec.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
prefix.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
quality.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
reader.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
README.md Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
ringbuffer.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
state.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
static_dict_lut.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
static_dict.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
symbol_list.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
transform.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
utf8_util.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
util.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
write_bits.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00
writer.go Merge: Complete Mattermost Server with Community Enterprise 2025-12-17 23:59:07 +09:00

This package is a brotli compressor and decompressor implemented in Go. It was translated from the reference implementation (https://github.com/google/brotli) with the c2go tool at https://github.com/andybalholm/c2go.

I have been working on new compression algorithms (not translated from C) in the matchfinder package. You can use them with the NewWriterV2 function. Currently they give better results than the old implementation (at least for compressing my test file, Newtons Opticks) on levels 2 to 6.

I am using it in production with https://github.com/andybalholm/redwood.

API documentation is found at https://pkg.go.dev/github.com/andybalholm/brotli?tab=doc.