github.com/wozhu6104/docker@v20.10.10+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  }