github.com/docker/docker@v299999999.0.0-20200612211812-aaf470eca7b5+incompatible/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 runtime.GOOS, nil
    15  }