Logo Search packages:      
Sourcecode: hardlink version File versions

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

Less-Than check, respecting options given on command-line.

Definition at line 132 of file hardlink.py.

00132                            :
        '''Less-Than check, respecting options given on command-line.'''
        if ((self.opts.max and other.link_count < self.link_count) or
            (self.opts.max is False and other.link_count > self.link_count) or
            (self.stat.st_mtime > other.stat.st_mtime and not
             self.opts.timestamp)):
            return False
        else:
            return True


class HardLink(object):


Generated by  Doxygen 1.6.0   Back to index