Documentation
¶
There is no documentation for this package.
Directories
¶
| Path | Synopsis |
|---|---|
|
functions
|
|
|
checkmacsig
Package checkmacsig implements check_mac_signature(), which reports who signed a macOS package, binary or app, and stops the run unless it's the developer the configuration names.
|
Package checkmacsig implements check_mac_signature(), which reports who signed a macOS package, binary or app, and stops the run unless it's the developer the configuration names. |
|
dedent
Package dedent implements dedent(), which lets multi-line strings be indented with the code around them.
|
Package dedent implements dedent(), which lets multi-line strings be indented with the code around them. |
|
extract
Package extract implements extract(), which unpacks a .zip, .tar.gz or .tgz archive into a directory.
|
Package extract implements extract(), which unpacks a .zip, .tar.gz or .tgz archive into a directory. |
|
glob
Package glob implements path.glob(), which finds the paths that match a pattern whose wildcards can appear in any path segment, directories included.
|
Package glob implements path.glob(), which finds the paths that match a pattern whose wildcards can appear in any path segment, directories included. |
|
here
Package here implements the plain helper here(), which builds absolute paths to files that ship next to a .star file.
|
Package here implements the plain helper here(), which builds absolute paths to files that ship next to a .star file. |
|
installbin
Package installbin implements install_binary(), which installs a command-line tool from a release archive (or a bare file) as a file.
|
Package installbin implements install_binary(), which installs a command-line tool from a release archive (or a bare file) as a file. |
|
macapp
Package macapp implements install_mac_app(), install_mac_dmg() and install_mac_zip(), which install a macOS .app bundle only if it's signed, through Apple, by the developer certificate the configuration names.
|
Package macapp implements install_mac_app(), install_mac_dmg() and install_mac_zip(), which install a macOS .app bundle only if it's signed, through Apple, by the developer certificate the configuration names. |
|
macpkg
Package macpkg implements install_mac_pkg(), which installs a macOS .pkg only after checking that it's signed, through Apple, by the developer certificate the configuration names.
|
Package macpkg implements install_mac_pkg(), which installs a macOS .pkg only after checking that it's signed, through Apple, by the developer certificate the configuration names. |
|
pathmod
Package pathmod implements the path module: path.exists(), path.join(), path.glob() and path.list().
|
Package pathmod implements the path module: path.exists(), path.join(), path.glob() and path.list(). |
|
sysinfo
Package sysinfo implements the plain helpers platform(), env() and home_dir(), which describe the machine starcm runs on.
|
Package sysinfo implements the plain helpers platform(), env() and home_dir(), which describe the machine starcm runs on. |
|
tempdir
Package tempdir implements temp_dir(), which returns the system's temporary directory.
|
Package tempdir implements temp_dir(), which returns the system's temporary directory. |
|
libraries
|
|
|
globmatch
Package globmatch matches slash-separated names, such as the entries of an archive, against a glob.
|
Package globmatch matches slash-separated names, such as the entries of an archive, against a glob. |
|
httpclient
Package httpclient is starcm's one place for outgoing HTTP: the shared client and the helpers built on it.
|
Package httpclient is starcm's one place for outgoing HTTP: the shared client and the helpers built on it. |
|
inspect
Package inspect reports what a .star file loads and calls without running it, so tools can check configuration (e.g.
|
Package inspect reports what a .star file loads and calls without running it, so tools can check configuration (e.g. |
|
local_store
Package localstore keeps downloaded files on disk under their sha256, at <dir>/sha256/<hash>/<name>, in a directory that only the current user (and root or administrators) can change.
|
Package localstore keeps downloaded files on disk under their sha256, at <dir>/sha256/<hash>/<name>, in a directory that only the current user (and root or administrators) can change. |
|
macarchive
Package macarchive unpacks macOS .app bundles from .zip archives and .dmg disk images with the system's own tools, which keep what a code signature depends on (symlinks, extended attributes, resource forks) and which a pure-Go unzip does not.
|
Package macarchive unpacks macOS .app bundles from .zip archives and .dmg disk images with the system's own tools, which keep what a code signature depends on (symlinks, extended attributes, resource forks) and which a pure-Go unzip does not. |
|
macsig
Package macsig reads and checks macOS code signatures: the signature of an installer package (.pkg) with pkgutil, and of a Mach-O binary or .app bundle with codesign.
|
Package macsig reads and checks macOS code signatures: the signature of an installer package (.pkg) with pkgutil, and of a Mach-O binary or .app bundle with codesign. |
|
paths
Package paths implements starcm's rule for path arguments: a relative path only ever names a read-only resource that ships next to a .star file, and every other path must be absolute.
|
Package paths implements starcm's rule for path arguments: a relative path only ever names a read-only resource that ships next to a .star file, and every other path must be absolute. |
|
sha256
Package sha256 is starcm's one implementation of sha256 hashing, shared by download() and sha256().
|
Package sha256 is starcm's one implementation of sha256 hashing, shared by download() and sha256(). |
|
signing
Package signing creates and checks detached signatures for files starcm runs or handles.
|
Package signing creates and checks detached signatures for files starcm runs or handles. |
|
testhelpers
|
|
Click to show internal directories.
Click to hide internal directories.