Logo Search packages:      
Sourcecode: hardlink version File versions  Download package

hardlink::File Class Reference

List of all members.

Detailed Description

Represent a file or hardlink

    path - The path to the file
    hash - The hash of the file (a tuple)
    isreg - Is the file a regular file?
    link_count - The link count of the file
    stat - The result of os.stat(path)
    opts - The commandline options, parsed by optparse

Please note that the hash attribute is a tuple consisting of multiple
items, mainly (mode, dev, uid, gid, fname, size, mtime), whereas every
option except for size and dev may also be None, if this has been set on
the commandline.

Definition at line 40 of file hardlink.py.

Public Member Functions

def __init__
def __lt__
def is_linked_to
def link
def may_link_to
def same_content

Public Attributes


Static Private Attributes

string __slots__ = 'path'

The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index