Logo Search packages:      
Sourcecode: hardlink version File versions

def hardlink::File::is_linked_to (   self,
  other 
)

Returns True if the files are already hardlinked.

Definition at line 95 of file hardlink.py.

00095                                  :
        '''Returns True if the files are already hardlinked.'''
        return (self.stat.st_ino == other.stat.st_ino and
                self.stat.st_dev == other.stat.st_dev)

    def link(self, other):


Generated by  Doxygen 1.6.0   Back to index