File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -47,8 +47,8 @@ type Spec struct {
4747
4848 // Object contains the identifier for the remote resource. Classically,
4949 // this is a tag but can refer to anything in a remote. By convention, any
50- // portion that may be a partial or whole digest will be preceeded by an
51- // `@`. Anything preceeding the `@` will be referred to as the "tag".
50+ // portion that may be a partial or whole digest will be preceded by an
51+ // `@`. Anything preceding the `@` will be referred to as the "tag".
5252 //
5353 // In practice, we will see this broken down into the following formats:
5454 //
@@ -82,7 +82,7 @@ func Parse(s string) (Spec, error) {
8282 var object string
8383
8484 if idx := splitRe .FindStringIndex (u .Path ); idx != nil {
85- // This allows us to retain the @ to signify digests or shortend digests in
85+ // This allows us to retain the @ to signify digests or shortened digests in
8686 // the object.
8787 object = u .Path [idx [0 ]:]
8888 if object [:1 ] == ":" {
@@ -129,7 +129,7 @@ func (r Spec) String() string {
129129 return fmt .Sprintf ("%v:%v" , r .Locator , r .Object )
130130}
131131
132- // SplitObject provides two parts of the object spec, delimiited by an `@`
132+ // SplitObject provides two parts of the object spec, delimited by an `@`
133133// symbol.
134134//
135135// Either may be empty and it is the callers job to validate them
You can’t perform that action at this time.
0 commit comments