filestore_unix.go 332 B

123456789101112131415
  1. // +build !windows
  2. package layer
  3. import "runtime"
  4. // setOS writes the "os" file to the layer filestore
  5. func (fm *fileMetadataTransaction) setOS(os string) error {
  6. return nil
  7. }
  8. // getOS reads the "os" file from the layer filestore
  9. func (fms *fileMetadataStore) getOS(layer ChainID) (string, error) {
  10. return runtime.GOOS, nil
  11. }