Link generates hardlink to destination path
(path, dstPath string)
| 404 | |
| 405 | // Link generates hardlink to destination path |
| 406 | func (pool *PackagePool) Link(path, dstPath string) error { |
| 407 | return os.Link(filepath.Join(pool.rootPath, path), dstPath) |
| 408 | } |
| 409 | |
| 410 | // Symlink generates symlink to destination path |
| 411 | func (pool *PackagePool) Symlink(path, dstPath string) error { |