mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00

Signed-off-by: John Howard <jhoward@microsoft.com> The re-coalesces the daemon stores which were split as part of the original LCOW implementation. This is part of the work discussed in https://github.com/moby/moby/issues/34617, in particular see the document linked to in that issue.
15 lines
332 B
Go
15 lines
332 B
Go
// +build !windows
|
|
|
|
package layer
|
|
|
|
import "runtime"
|
|
|
|
// SetOS writes the "os" file to the layer filestore
|
|
func (fm *fileMetadataTransaction) SetOS(os string) error {
|
|
return nil
|
|
}
|
|
|
|
// GetOS reads the "os" file from the layer filestore
|
|
func (fms *fileMetadataStore) GetOS(layer ChainID) (string, error) {
|
|
return runtime.GOOS, nil
|
|
}
|