Skip to content
This repository was archived by the owner on Sep 9, 2020. It is now read-only.

Commit a90bfbb

Browse files
committed
Spruce up symbolic links a bit
1 parent 632d8e7 commit a90bfbb

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

FAQ.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ Summarize the question and quote the reply, linking back to the original comment
1818
* [Can I put the manifest and lock in the vendor directory?](#can-i-put-the-manifest-and-lock-in-the-vendor-directory)
1919
* [Why did dep use a different revision for package X instead of the revision in the lock file?](#why-did-dep-use-a-different-revision-for-package-x-instead-of-the-revision-in-the-lock-file)
2020
* [Why is `dep` slow?](#why-is-dep-slow)
21+
* [How does `dep` handle symbolic links?](#how-does-dep-handle-symbolic-links)
2122

2223
## What is the difference between Gopkg.toml (the "manifest") and Gopkg.lock (the "lock")?
2324

@@ -189,3 +190,5 @@ Out of convenience, one might create a symlink to a directory within their `GOPA
189190
- If both the cwd and resolved path are in the same `GOPATH`, an error is thrown since the users intentions and expectations can't be accurately deduced.
190191
- If the symlink is within a `GOPATH` and the real path is within a *different* `GOPATH` - an error is thrown.
191192

193+
This is the only symbolic link support that `dep` really intends to provide. In keeping with the general practices of the `go` tool, `dep` tends to either ignore symlinks (when walking) or copy the symlink itself, depending on the filesystem operation being performed.
194+

0 commit comments

Comments
 (0)