Skip to content

Update containerd library to v2 #176

@AkihiroSuda

Description

@AkihiroSuda

Needs to be careful about these go:linkname functions

diffoci/pkg/untar/tar.go

Lines 104 to 117 in 6989d70

//go:linkname createTarFile github.com/containerd/containerd/archive.createTarFile
func createTarFile(ctx context.Context, path, extractDir string, hdr *tar.Header, reader io.Reader, noSameOwner bool) error
//go:linkname chtimes github.com/containerd/containerd/archive.chtimes
func chtimes(path string, atime, mtime time.Time) error
//go:linkname mkparent github.com/containerd/containerd/archive.mkparent
func mkparent(ctx context.Context, path, root string, parents []string) error
//go:linkname boundTime github.com/containerd/containerd/archive.boundTime
func boundTime(t time.Time) time.Time
//go:linkname latestTime github.com/containerd/containerd/archive.latestTime
func latestTime(t1, t2 time.Time) time.Time

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions