mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-05 10:32:19 +00:00
Disable ci3 (#6063)
This commit is contained in:
parent
30bf54ebf2
commit
e7a3c0789a
@ -190,7 +190,7 @@ func buildTorrentIfNeed(fName, root string) (err error) {
|
|||||||
// AddSegment - add existing .seg file, create corresponding .torrent if need
|
// AddSegment - add existing .seg file, create corresponding .torrent if need
|
||||||
func AddSegment(originalFileName, snapDir string, client *torrent.Client) (bool, error) {
|
func AddSegment(originalFileName, snapDir string, client *torrent.Client) (bool, error) {
|
||||||
fPath := filepath.Join(snapDir, originalFileName)
|
fPath := filepath.Join(snapDir, originalFileName)
|
||||||
if !dir.FileExist(fPath + ".torrent") {
|
if !dir2.FileExist(fPath + ".torrent") {
|
||||||
return false, nil
|
return false, nil
|
||||||
}
|
}
|
||||||
_, err := AddTorrentFile(fPath+".torrent", client)
|
_, err := AddTorrentFile(fPath+".torrent", client)
|
||||||
|
Loading…
Reference in New Issue
Block a user