Co-authored-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
vyzo 2021-07-28 17:11:04 +03:00 committed by GitHub
parent c65d72fbca
commit b75ff37448
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -367,7 +367,7 @@ func (b *Blockstore) movingGC() error {
return nil
}
// symlink creates a symlink from path to linkPath; the link is relative if the two are
// symlink creates a symlink from path to linkTo; the link is relative if the two are
// in the same directory
func (b *Blockstore) symlink(path, linkTo string) error {
resolvedPathDir, err := filepath.EvalSymlinks(filepath.Dir(path))