mirror of
https://github.com/cirruslabs/tart.git
synced 2026-10-22 03:24:40 +02:00
Compare commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
87733290e7 | ||
|
|
c14b46adc3 |
@@ -1,3 +1,3 @@
|
|||||||
version https://git-lfs.github.com/spec/v1
|
version https://git-lfs.github.com/spec/v1
|
||||||
oid sha256:8dd6af1a08bbcdc4faf0ff53601b38136c90231e11bd81bc8cd477d6f1c7d3f2
|
oid sha256:1fe96aed7a965b075300f092a3ca76e09053eb7cf2f3125c3a819098a8bc4b31
|
||||||
size 209404
|
size 123360
|
||||||
|
|||||||
File diff suppressed because one or more lines are too long
@@ -28,6 +28,7 @@ class VMStorageLocal {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func move(_ name: String, from: VMDirectory) throws {
|
func move(_ name: String, from: VMDirectory) throws {
|
||||||
|
_ = try FileManager.default.createDirectory(at: baseURL, withIntermediateDirectories: true)
|
||||||
_ = try FileManager.default.replaceItemAt(vmURL(name), withItemAt: from.baseURL)
|
_ = try FileManager.default.replaceItemAt(vmURL(name), withItemAt: from.baseURL)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user