 Collaboration diagram for MarFileEntry:
 Collaboration diagram for MarFileEntry:| Public Member Functions | |
| def | __init__ | 
| def | __str__ | 
| def | calc_file_sha_digest | 
| def | sha | 
| Data Fields | |
| name | |
| abs_path | |
| sha_cache | |
Represents a file inside a Mozilla Archive Format (MAR)
    abs_path = abspath to the the file
    name =  relative path within the mar.  e.g.
      foo.mar/dir/bar.txt extracted into /tmp/foo:
        abs_path=/tmp/foo/dir/bar.txt
        name = dir/bar.txt
 
Definition at line 147 of file make_incremental_updates.py.
| def __init__ | ( | self, | |
| root, | |||
| name | |||
| ) | 
root = path the the top of the mar name = relative path within the mar
Definition at line 155 of file make_incremental_updates.py.
| def __str__ | ( | self | ) | 
Definition at line 162 of file make_incremental_updates.py.
| def calc_file_sha_digest | ( | self, | |
| filename | |||
| ) | 
Returns sha digest of given filename
Definition at line 165 of file make_incremental_updates.py.
| def sha | ( | self | ) | 
Returns sha digest of file repreesnted by this _marfile_entry
Definition at line 170 of file make_incremental_updates.py.
 Here is the call graph for this function:
 Here is the call graph for this function:| abs_path | 
Definition at line 159 of file make_incremental_updates.py.
| name | 
Definition at line 158 of file make_incremental_updates.py.
| sha_cache | 
Definition at line 160 of file make_incremental_updates.py.
| ← centre documentaire |  |