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 ec78d3d7b1
commit 4417be81ad

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))