You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -41,7 +41,7 @@ If you are interested in trying out containerd see our example at [Getting Start
41
41
## Nightly builds
42
42
43
43
There are nightly builds available for download [here](https://github.com/containerd/containerd/actions?query=workflow%3ANightly).
44
-
Binaries are generated from `master` branch every night for `Linux` and `Windows`.
44
+
Binaries are generated from `main` branch every night for `Linux` and `Windows`.
45
45
46
46
Please be aware: nightly builds might have critical bugs, it's not recommended for use in production and no support provided.
Copy file name to clipboardExpand all lines: archive/tar.go
+7-7Lines changed: 7 additions & 7 deletions
Original file line number
Diff line number
Diff line change
@@ -48,7 +48,7 @@ var errInvalidArchive = errors.New("invalid archive")
48
48
// Produces a tar using OCI style file markers for deletions. Deleted
49
49
// files will be prepended with the prefix ".wh.". This style is
50
50
// based off AUFS whiteouts.
51
-
// See https://github.com/opencontainers/image-spec/blob/master/layer.md
51
+
// See https://github.com/opencontainers/image-spec/blob/main/layer.md
52
52
funcDiff(ctx context.Context, a, bstring) io.ReadCloser {
53
53
r, w:=io.Pipe()
54
54
@@ -68,7 +68,7 @@ func Diff(ctx context.Context, a, b string) io.ReadCloser {
68
68
// Produces a tar using OCI style file markers for deletions. Deleted
69
69
// files will be prepended with the prefix ".wh.". This style is
70
70
// based off AUFS whiteouts.
71
-
// See https://github.com/opencontainers/image-spec/blob/master/layer.md
71
+
// See https://github.com/opencontainers/image-spec/blob/main/layer.md
72
72
funcWriteDiff(ctx context.Context, w io.Writer, a, bstring, opts...WriteDiffOpt) error {
73
73
varoptionsWriteDiffOptions
74
74
for_, opt:=rangeopts {
@@ -89,7 +89,7 @@ func WriteDiff(ctx context.Context, w io.Writer, a, b string, opts ...WriteDiffO
89
89
// Produces a tar using OCI style file markers for deletions. Deleted
90
90
// files will be prepended with the prefix ".wh.". This style is
91
91
// based off AUFS whiteouts.
92
-
// See https://github.com/opencontainers/image-spec/blob/master/layer.md
92
+
// See https://github.com/opencontainers/image-spec/blob/main/layer.md
93
93
funcwriteDiffNaive(ctx context.Context, w io.Writer, a, bstring, _WriteDiffOptions) error {
94
94
cw:=NewChangeWriter(w, b)
95
95
err:=fs.Changes(ctx, a, b, cw.HandleChange)
@@ -102,7 +102,7 @@ func writeDiffNaive(ctx context.Context, w io.Writer, a, b string, _ WriteDiffOp
102
102
const (
103
103
// whiteoutPrefix prefix means file is a whiteout. If this is followed by a
104
104
// filename this means that file has been removed from the base layer.
105
-
// See https://github.com/opencontainers/image-spec/blob/master/layer.md#whiteouts
105
+
// See https://github.com/opencontainers/image-spec/blob/main/layer.md#whiteouts
106
106
whiteoutPrefix=".wh."
107
107
108
108
// whiteoutMetaPrefix prefix means whiteout has a special meaning and is not
@@ -118,7 +118,7 @@ const (
118
118
)
119
119
120
120
// Apply applies a tar stream of an OCI style diff tar.
121
-
// See https://github.com/opencontainers/image-spec/blob/master/layer.md#applying-changesets
121
+
// See https://github.com/opencontainers/image-spec/blob/main/layer.md#applying-changesets
122
122
funcApply(ctx context.Context, rootstring, r io.Reader, opts...ApplyOpt) (int64, error) {
// applyNaive applies a tar stream of an OCI style diff tar to a directory
142
142
// applying each file as either a whole file or whiteout.
143
-
// See https://github.com/opencontainers/image-spec/blob/master/layer.md#applying-changesets
143
+
// See https://github.com/opencontainers/image-spec/blob/main/layer.md#applying-changesets
144
144
funcapplyNaive(ctx context.Context, rootstring, r io.Reader, optionsApplyOptions) (sizeint64, errerror) {
// This should be used combining with continuity's diff computing functionality
470
470
// (e.g. `fs.Change` of github.com/containerd/continuity/fs).
471
471
//
472
-
// See also https://github.com/opencontainers/image-spec/blob/master/layer.md for details
472
+
// See also https://github.com/opencontainers/image-spec/blob/main/layer.md for details
Copy file name to clipboardExpand all lines: archive/tar_opts_windows.go
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -24,7 +24,7 @@ import (
24
24
)
25
25
26
26
// applyWindowsLayer applies a tar stream of an OCI style diff tar of a Windows layer
27
-
// See https://github.com/opencontainers/image-spec/blob/master/layer.md#applying-changesets
27
+
// See https://github.com/opencontainers/image-spec/blob/main/layer.md#applying-changesets
28
28
funcapplyWindowsLayer(ctx context.Context, rootstring, r io.Reader, optionsApplyOptions) (sizeint64, errerror) {
0 commit comments