Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions cmd/wclayer/export.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ import (

winio "github.com/Microsoft/go-winio"
"github.com/Microsoft/hcsshim/internal/appargs"
"github.com/Microsoft/hcsshim/oci/wclayer"
"github.com/Microsoft/hcsshim/internal/ociwclayer"
"github.com/urfave/cli"
)

Expand Down Expand Up @@ -61,6 +61,6 @@ var exportCommand = cli.Command{
w = gzip.NewWriter(w)
}

return wclayer.ExportLayer(w, path, layers)
return ociwclayer.ExportLayer(w, path, layers)
},
}
4 changes: 2 additions & 2 deletions cmd/wclayer/import.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

"github.com/Microsoft/go-winio"
"github.com/Microsoft/hcsshim/internal/appargs"
"github.com/Microsoft/hcsshim/oci/wclayer"
"github.com/Microsoft/hcsshim/internal/ociwclayer"
"github.com/urfave/cli"
)

Expand Down Expand Up @@ -56,7 +56,7 @@ var importCommand = cli.Command{
if err != nil {
return err
}
_, err = wclayer.ImportLayer(r, path, layers)
_, err = ociwclayer.ImportLayer(r, path, layers)
return err
},
}
Expand Down
4 changes: 2 additions & 2 deletions oci/wclayer/export.go → internal/ociwclayer/export.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
// Package wclayer provides functions for importing and exporting Windows
// Package ociwclayer provides functions for importing and exporting Windows
// container layers from and to their OCI tar representation.
package wclayer
package ociwclayer

import (
"io"
Expand Down
2 changes: 1 addition & 1 deletion oci/wclayer/import.go → internal/ociwclayer/import.go
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
package wclayer
package ociwclayer

import (
"bufio"
Expand Down