Skip to content

Commit eb0cc25

Browse files
author
John Starks
committed
Move oci/wclayer to internal for now
We may want to iterate on this interface a bit before we support it outside of hcsshim.
1 parent e585ff8 commit eb0cc25

4 files changed

Lines changed: 7 additions & 7 deletions

File tree

cmd/wclayer/export.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ import (
88

99
winio "github.com/Microsoft/go-winio"
1010
"github.com/Microsoft/hcsshim/internal/appargs"
11-
"github.com/Microsoft/hcsshim/oci/wclayer"
11+
"github.com/Microsoft/hcsshim/internal/ociwclayer"
1212
"github.com/urfave/cli"
1313
)
1414

@@ -61,6 +61,6 @@ var exportCommand = cli.Command{
6161
w = gzip.NewWriter(w)
6262
}
6363

64-
return wclayer.ExportLayer(w, path, layers)
64+
return ociwclayer.ExportLayer(w, path, layers)
6565
},
6666
}

cmd/wclayer/import.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ import (
99

1010
"github.com/Microsoft/go-winio"
1111
"github.com/Microsoft/hcsshim/internal/appargs"
12-
"github.com/Microsoft/hcsshim/oci/wclayer"
12+
"github.com/Microsoft/hcsshim/internal/ociwclayer"
1313
"github.com/urfave/cli"
1414
)
1515

@@ -56,7 +56,7 @@ var importCommand = cli.Command{
5656
if err != nil {
5757
return err
5858
}
59-
_, err = wclayer.ImportLayer(r, path, layers)
59+
_, err = ociwclayer.ImportLayer(r, path, layers)
6060
return err
6161
},
6262
}
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
// Package wclayer provides functions for importing and exporting Windows
1+
// Package ociwclayer provides functions for importing and exporting Windows
22
// container layers from and to their OCI tar representation.
3-
package wclayer
3+
package ociwclayer
44

55
import (
66
"io"
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
package wclayer
1+
package ociwclayer
22

33
import (
44
"bufio"

0 commit comments

Comments
 (0)