Lines 1452-1458
class dblink(object):
Link Here
|
1452 |
self._contents_inodes = None |
1452 |
self._contents_inodes = None |
1453 |
self._contents_basenames = None |
1453 |
self._contents_basenames = None |
1454 |
self._linkmap_broken = False |
1454 |
self._linkmap_broken = False |
1455 |
self._md5_merge_map = {} |
1455 |
self._hardlink_merge_map = {} |
1456 |
self._hash_key = (self._eroot, self.mycpv) |
1456 |
self._hash_key = (self._eroot, self.mycpv) |
1457 |
self._protect_obj = None |
1457 |
self._protect_obj = None |
1458 |
self._pipe = pipe |
1458 |
self._pipe = pipe |
Lines 4500-4509
class dblink(object):
Link Here
|
4500 |
# as hardlinks (having identical st_dev and st_ino). |
4500 |
# as hardlinks (having identical st_dev and st_ino). |
4501 |
hardlink_key = (mystat.st_dev, mystat.st_ino) |
4501 |
hardlink_key = (mystat.st_dev, mystat.st_ino) |
4502 |
|
4502 |
|
4503 |
hardlink_candidates = self._md5_merge_map.get(hardlink_key) |
4503 |
hardlink_candidates = self._hardlink_merge_map.get(hardlink_key) |
4504 |
if hardlink_candidates is None: |
4504 |
if hardlink_candidates is None: |
4505 |
hardlink_candidates = [] |
4505 |
hardlink_candidates = [] |
4506 |
self._md5_merge_map[hardlink_key] = hardlink_candidates |
4506 |
self._hardlink_merge_map[hardlink_key] = hardlink_candidates |
4507 |
|
4507 |
|
4508 |
mymtime = movefile(mysrc, mydest, newmtime=thismtime, |
4508 |
mymtime = movefile(mysrc, mydest, newmtime=thismtime, |
4509 |
sstat=mystat, mysettings=self.settings, |
4509 |
sstat=mystat, mysettings=self.settings, |
Lines 4511-4518
class dblink(object):
Link Here
|
4511 |
encoding=_encodings['merge']) |
4511 |
encoding=_encodings['merge']) |
4512 |
if mymtime is None: |
4512 |
if mymtime is None: |
4513 |
return 1 |
4513 |
return 1 |
4514 |
if hardlink_candidates is not None: |
4514 |
hardlink_candidates.append(mydest) |
4515 |
hardlink_candidates.append(mydest) |
|
|
4516 |
zing = ">>>" |
4515 |
zing = ">>>" |
4517 |
|
4516 |
|
4518 |
if mymtime != None: |
4517 |
if mymtime != None: |