Verify checks whether file exists in the pool and fills back checksum info if poolPath is empty, poolPath is generated automatically based on checksum info (if available) in any case, if function returns true, it also fills back checksums with complete information about the file in the pool
(poolPath, basename string, checksums *utils.ChecksumInfo, checksumStorage ChecksumStorage)
| 26 | // if poolPath is empty, poolPath is generated automatically based on checksum info (if available) |
| 27 | // in any case, if function returns true, it also fills back checksums with complete information about the file in the pool |
| 28 | Verify(poolPath, basename string, checksums *utils.ChecksumInfo, checksumStorage ChecksumStorage) (string, bool, error) |
| 29 | // Import copies file into package pool |
| 30 | // |
| 31 | // - srcPath is full path to source file as it is now |
no outgoing calls