This commit is contained in:
xushiwei
2024-04-19 15:58:10 +08:00
parent 4f5a656a9f
commit 2aba96b020
4 changed files with 64 additions and 56 deletions

View File

@@ -17,15 +17,10 @@
package ar
import (
"errors"
"io"
"strconv"
)
var (
errWriteTooLong = errors.New("ar: write too long")
)
// Writer provides sequential writing of an ar archive.
// An ar archive is sequence of header file pairs
// Call WriteHeader to begin writing a new file, then call Write to supply the file's data