Co-authored-by: Jakub Sztandera <kubuxu@protocol.ai>
This commit is contained in:
vyzo 2021-07-28 17:11:04 +03:00 committed by Jennifer Wang
parent 73c161a295
commit 9133f819e0

View File

@ -367,7 +367,7 @@ func (b *Blockstore) movingGC() error {
return nil 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 // in the same directory
func (b *Blockstore) symlink(path, linkTo string) error { func (b *Blockstore) symlink(path, linkTo string) error {
resolvedPathDir, err := filepath.EvalSymlinks(filepath.Dir(path)) resolvedPathDir, err := filepath.EvalSymlinks(filepath.Dir(path))