2021-08-23 13:14:53 +00:00
|
|
|
//go:build !windows
|
2017-04-25 16:37:29 +00:00
|
|
|
// +build !windows
|
|
|
|
|
2018-02-05 21:05:59 +00:00
|
|
|
package layer // import "github.com/docker/docker/layer"
|
2017-04-25 16:37:29 +00:00
|
|
|
|
2017-08-24 18:48:16 +00:00
|
|
|
import "runtime"
|
|
|
|
|
2017-11-20 16:33:20 +00:00
|
|
|
// setOS writes the "os" file to the layer filestore
|
|
|
|
func (fm *fileMetadataTransaction) setOS(os string) error {
|
2017-04-25 16:37:29 +00:00
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2017-11-20 16:33:20 +00:00
|
|
|
// getOS reads the "os" file from the layer filestore
|
|
|
|
func (fms *fileMetadataStore) getOS(layer ChainID) (string, error) {
|
2017-08-24 18:48:16 +00:00
|
|
|
return runtime.GOOS, nil
|
2017-04-25 16:37:29 +00:00
|
|
|
}
|