1
0
Fork 0
mirror of https://github.com/moby/moby.git synced 2022-11-09 12:21:53 -05:00
moby--moby/layer
Stefan J. Wernli ef5bfad321 Adding readOnly parameter to graphdriver Create method
Since the layer store was introduced, the level above the graphdriver
now differentiates between read/write and read-only layers.  This
distinction is useful for graphdrivers that need to take special steps
when creating a layer based on whether it is read-only or not.
Adding this parameter allows the graphdrivers to differentiate, which
in the case of the Windows graphdriver, removes our dependence on parsing
the id of the parent for "-init" in order to infer this information.

This will also set the stage for unblocking some of the layer store
unit tests in the next preview build of Windows.

Signed-off-by: Stefan J. Wernli <swernli@microsoft.com>
2016-04-06 13:52:53 -07:00
..
empty.go
empty_test.go
filestore.go
filestore_test.go
layer.go
layer_store.go Adding readOnly parameter to graphdriver Create method 2016-04-06 13:52:53 -07:00
layer_test.go
layer_unix.go
layer_unix_test.go
layer_windows.go
migration.go
migration_test.go
mount_test.go
mounted_layer.go
ro_layer.go