mirror of
https://github.com/superseriousbusiness/gotosocial.git
synced 2025-12-15 12:03:00 -06:00
[chore] migrate oauth2 -> codeberg (#3857)
This commit is contained in:
parent
49c12636c6
commit
8488ac9286
65 changed files with 1677 additions and 1221 deletions
2
vendor/github.com/klauspost/compress/s2/README.md
generated
vendored
2
vendor/github.com/klauspost/compress/s2/README.md
generated
vendored
|
|
@ -79,7 +79,7 @@ This will take ownership of the buffer until the stream is closed.
|
|||
func EncodeStream(src []byte, dst io.Writer) error {
|
||||
enc := s2.NewWriter(dst)
|
||||
// The encoder owns the buffer until Flush or Close is called.
|
||||
err := enc.EncodeBuffer(buf)
|
||||
err := enc.EncodeBuffer(src)
|
||||
if err != nil {
|
||||
enc.Close()
|
||||
return err
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue