mirror of
https://github.com/seaweedfs/seaweedfs.git
synced 2025-09-19 17:54:37 +08:00
rename UnCompressData to DecompressData
This commit is contained in:
@@ -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