| __init__.py |
|
0 |
- |
| apple_pkg |
|
|
- |
| archive.py |
Create a tar file deterministically.
Receives a dict mapping names of files in the archive to local filesystem
paths or ``mozpack.files.BaseFile`` instances.
The files will be archived and written to the passed file handle opened
for writing.
Only regular files can be written.
FUTURE accept a filename argument (or create APIs to write files)
|
5951 |
- |
| chrome |
|
|
- |
| copier.py |
Walk a destination tree using os.scandir() and collect file metadata.
Returns (existing_files, existing_dirs, mtimes, symlink_targets).
|
27946 |
- |
| dmg.py |
When cross compiling, we zero fill an hfs file, that we will turn into
a DMG. To do so we test the size of the staged dir, and add some slight
padding to that.
|
8788 |
- |
| errors.py |
Exception type raised from errors.error() and errors.fatal() |
4206 |
- |
| executables.py |
Check the signature of the give file and returns what kind of executable
matches.
|
3968 |
- |
| files.py |
Helper interface for BaseFile.copy. The interface works as follows:
- read() and write() can be used to sequentially read/write from the underlying file.
- a call to read() after a write() will re-open the underlying file and read from it.
- a call to write() after a read() will re-open the underlying file, emptying it, and write to it.
|
45482 |
- |
| macpkg.py |
|
7615 |
- |
| manifests.py |
Raised when an invalid install manifest is parsed. |
16764 |
- |
| mozjar.py |
Error type for Jar reader errors. |
29180 |
- |
| packager |
|
|
- |
| path.py |
Like :py:mod:`os.path`, with a reduced set of functions, and with normalized path
separators (always use forward slashes).
Also contains a few additional utilities not found in :py:mod:`os.path`.
|
7195 |
- |
| pkg.py |
Given <name>, open file at <TEMPLATE_DIRECTORY>/<name>, read contents and
return as a Template
Args:
name: str, Filename for the template
Returns:
Template, loaded from file
|
10011 |
- |
| test |
|
|
- |
| unify.py |
<(?P<ns>[-._0-9A-Za-z]+:)?targetPlatform> # The targetPlatform tag, with any namespace
(?P<platform>[^<]*) # The actual platform value
</(?P=ns)?targetPlatform> # The closing tag
|
9984 |
- |