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