mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2026-11-06 03:57:48 +01:00
rename UnCompressData to DecompressData
This commit is contained in:
1 parent
97239ce6f1
commit
3080c197e3
7 files changed
+8
-8
No files matched your search
@@ -26,7 +26,7 @@ func GzipData(input []byte) ([]byte, error) {
|
||||
}
|
||||
return buf.Bytes(), nil
|
||||
}
|
||||
func UnCompressData(input []byte) ([]byte, error) {
|
||||
func DecompressData(input []byte) ([]byte, error) {
|
||||
if IsGzippedContent(input) {
|
||||
return ungzipData(input)
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user