Skip to content

Commit 249f2d5

Browse files
committed
Add TODOs
Signed-off-by: Darren Stahl <[email protected]>
1 parent c264ea2 commit 249f2d5

File tree

3 files changed

+10
-5
lines changed

3 files changed

+10
-5
lines changed

mount/mount_windows.go

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,9 @@ func (m *Mount) Mount(target string) (retErr error) {
6464
return errors.Wrapf(err, "failed to get mount path for layer %s", m.Source)
6565
}
6666

67+
// Check if the returned path is a new mounted volume, or the path of the expanded
68+
// layer on disk.
69+
// TODO: Is there a better way to check this than looking for \\?\Volume*?
6770
if !strings.HasPrefix(layerPath, "\\\\?\\") {
6871
layerPath = filepath.Join(layerPath, "Files")
6972
if _, err := os.Lstat(layerPath); err != nil {

vendor/github.com/containerd/continuity/fs/fstest/compare_windows.go

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

vendor/github.com/containerd/continuity/pathdriver/path_driver.go

Lines changed: 6 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)