1
0
Fork 1
mirror of https://github.com/vbatts/tar-split.git synced 2025-07-18 21:30:27 +00:00

*.go: move the carrierd archive/tar to internal/

The feature of golang having source in a project path with "internal"
makes the code only able to be imported by the project itself.
https://docs.google.com/document/d/1e8kOo3r51b2BWtTs_1uADIA5djfXhPT36s6eHVRIvaU/edit?tab=t.0

Since we have this carried version of `archive/tar` with our byte
accounting patches, it is also means the version of archive/tar has not
kept up with upstream.

our tar-split libraries do not even utilize all the function calls of
our carried archive/tar, so might as well limit anyone else in the world
from calling them as well.

Signed-off-by: Vincent Batts <vbatts@hashbangbash.com>
This commit is contained in:
Vincent Batts 2025-01-28 10:58:46 -05:00
parent 42a2f59a07
commit c8b16f6803
Signed by: vbatts
GPG key ID: E30EFAA812C6E5ED
61 changed files with 6 additions and 5 deletions

View file

@ -3,7 +3,7 @@ package asm
import (
"io"
"github.com/vbatts/tar-split/archive/tar"
"github.com/vbatts/tar-split/internal/archive/tar"
"github.com/vbatts/tar-split/tar/storage"
)