forked from gitea/gitea
1
0
Fork 0
gitea/vendor/github.com/andybalholm/brotli
PhilippHomann 684b7a999f
Dump: add output format tar and output to stdout (#10376)
* Dump: Use mholt/archive/v3 to support tar including many compressions

Signed-off-by: Philipp Homann <homann.philipp@googlemail.com>

* Dump: Allow dump output to stdout

Signed-off-by: Philipp Homann <homann.philipp@googlemail.com>

* Dump: Fixed bug present since #6677 where SessionConfig.Provider is never "file"

Signed-off-by: Philipp Homann <homann.philipp@googlemail.com>

* Dump: never pack RepoRootPath, LFS.ContentPath and LogRootPath when they are below AppDataPath

Signed-off-by: Philipp Homann <homann.philipp@googlemail.com>

* Dump: also dump LFS (fixes #10058)

Signed-off-by: Philipp Homann <homann.philipp@googlemail.com>

* Dump: never dump CustomPath if CustomPath is a subdir of or equal to AppDataPath (fixes #10365)

Signed-off-by: Philipp Homann <homann.philipp@googlemail.com>

* Use log.Info instead of fmt.Fprintf

Signed-off-by: Philipp Homann <homann.philipp@googlemail.com>

* import ordering

* make fmt

Co-authored-by: zeripath <art27@cantab.net>
Co-authored-by: techknowlogick <techknowlogick@gitea.io>
Co-authored-by: Matti R <matti@mdranta.net>
2020-06-05 16:47:39 -04:00
..
LICENSE Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
README.md Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
backward_references.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
backward_references_hq.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
bit_cost.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
bit_reader.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
block_splitter.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
block_splitter_command.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
block_splitter_distance.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
block_splitter_literal.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
brotli_bit_stream.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
cluster.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
cluster_command.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
cluster_distance.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
cluster_literal.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
command.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
compress_fragment.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
compress_fragment_two_pass.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
constants.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
context.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
decode.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
dictionary.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
dictionary_hash.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
encode.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
encoder_dict.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
entropy_encode.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
entropy_encode_static.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
fast_log.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
find_match_length.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
go.mod Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
go.sum Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
h5.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
h6.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
h10.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
hash.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
hash_composite.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
hash_forgetful_chain.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
hash_longest_match_quickly.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
hash_rolling.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
histogram.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
huffman.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
literal_cost.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
memory.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
metablock.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
metablock_command.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
metablock_distance.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
metablock_literal.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
params.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
platform.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
prefix.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
prefix_dec.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
quality.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
reader.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
ringbuffer.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
state.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
static_dict.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
static_dict_lut.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
symbol_list.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
transform.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
utf8_util.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
util.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
write_bits.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00
writer.go Dump: add output format tar and output to stdout (#10376) 2020-06-05 16:47:39 -04:00

README.md

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 am using it in production with https://github.com/andybalholm/redwood.