github.com/demonoid81/moby@v0.0.0-20200517203328-62dd8e17c460/layer/filestore_unix.go (about) 1 // +build !windows 2 3 package layer // import "github.com/demonoid81/moby/layer" 4 5 import "runtime" 6 7 // setOS writes the "os" file to the layer filestore 8 func (fm *fileMetadataTransaction) setOS(os string) error { 9 return nil 10 } 11 12 // getOS reads the "os" file from the layer filestore 13 func (fms *fileMetadataStore) getOS(layer ChainID) (string, error) { 14 return runtime.GOOS, nil 15 }