1
0
mirror of https://github.com/distribution/distribution synced 2025-02-23 06:49:36 +01:00
distribution/registry/storage/driver/inmemory
Stephen J Day f26a283a48 Avoid crash on invalid Move arguments
This chnage prevents a crash when moving from a non-existent directory that has
a file as a parent. To prevent this, we simply check that the node is a
directory and throws an error if it is not.

Signed-off-by: Stephen J Day <stephen.day@docker.com>
2015-04-01 19:03:02 -07:00
..
driver_test.go Move storagedriver package to registry/storage/driver 2015-02-11 12:43:04 -08:00
driver.go Move storagedriver package to registry/storage/driver 2015-02-11 12:43:04 -08:00
mfs.go Avoid crash on invalid Move arguments 2015-04-01 19:03:02 -07:00