Commit b66ae749 authored by Yagnesh Mistry's avatar Yagnesh Mistry
Browse files

add comment to indicate source of fs.go


Signed-off-by: default avatarYagnesh Mistry <ysh@live.in>
Showing with 4 additions and 0 deletions
+4 -0
......@@ -42,6 +42,10 @@ import (
"github.com/pkg/errors"
)
// fs contains a copy of a few functions from dep tool code to avoid a dependency on golang/dep.
// This code is copied from https://github.com/golang/dep/blob/37d6c560cdf407be7b6cd035b23dba89df9275cf/internal/fs/fs.go
// No changes to the code were made other than removing some unused functions
// RenameWithFallback attempts to rename a file or directory, but falls back to
// copying in the event of a cross-device link error. If the fallback copy
// succeeds, src is still removed, emulating normal rename behavior.
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment