Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

src/a/r/archiwe-0.9.0/archiwe/store/read/zip.py   archiwe(Download)
from hakmatak.constant import DATA
 
from archive import SIZE,TYPE,MTIME
from archive import Archive
 
                    # in zip, there is no concept of dir?
                    #{NAME:TYPE,VALUE:zipinfo.type}, 
                    {NAME:MTIME,VALUE:date_time_to_isoformat(zipinfo.date_time)}
                    ]
            # a leaf is found
                        # no type concept?
                        #{NAME:TYPE,VALUE:zipinfo.type},
                        {NAME:MTIME,VALUE:date_time_to_isoformat(zipinfo.date_time)}
                        ]
        zip.close()

src/a/r/archiwe-0.9.0/archiwe/store/read/tar.py   archiwe(Download)
from hakmatak.constant import DATA
 
from archive import SIZE,TYPE,MTIME
from archive import Archive
 
                    {NAME:SIZE,VALUE:tarinfo.size},
                    #{NAME:TYPE,VALUE:tarinfo.type},
                    {NAME:MTIME,VALUE:timestamp_to_isoformat(tarinfo.mtime)}
                    ]
            # if a file is found
                        {NAME:SIZE,VALUE:tarinfo.size},
                        #{NAME:TYPE,VALUE:tarinfo.type},
                        {NAME:MTIME,VALUE:timestamp_to_isoformat(tarinfo.mtime)}
                        ]
        tar.close()