github.com/pwn-term/docker@v0.0.0-20210616085119-6e977cce2565/moby/layer/filestore_unix.go (about) 1 // +build !windows 2 3 package layer // import "github.com/docker/docker/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 "linux", nil 15 }