MSYSComponent

Undocumented in source.

Constructors

this
this(string componentName, string testFile, string url)
Undocumented in source.

Members

Functions

atomicInstallImpl
void atomicInstallImpl()
Undocumented in source. Be warned that the author may not have intended to support it.

Properties

binPaths
string[] binPaths [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
installedLocally
bool installedLocally [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
subdirectory
string subdirectory [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

componentName
string componentName;
testFile
string testFile;
url
string url;
Undocumented in source.

Inherited Members

From Installer

installationDirectory
string installationDirectory;

Where all software will be unpacked (current directory, by default).

logger
void delegate(string) logger;

Log sink

log
void log(string s)
Undocumented in source. Be warned that the author may not have intended to support it.
name
string name [@property getter]

Component name. Used for logging.

subdirectory
string subdirectory [@property getter]

The subdirectory where this component will be installed.

binPaths
string[] binPaths [@property getter]

Subdirectories (under the installation subdirectory) containing executables which need to be added to PATH.

binDirs
string[] binDirs [@property getter]

As above, but expanded to full absolute directory paths.

pathDirs
deprecated string[] pathDirs [@property getter]
Undocumented in source. Be warned that the author may not have intended to support it.
directory
string directory [@property getter]

The full installation directory.

requiredExecutables
string[] requiredExecutables [@property getter]

The list of executable names required to be present. Null if this component is never considered already available on the system.

haveExecutable
deprecated bool haveExecutable(string name)
Undocumented in source. Be warned that the author may not have intended to support it.
findExecutable
deprecated string findExecutable(string name, string[] dirs)
Undocumented in source. Be warned that the author may not have intended to support it.
exePath
string exePath(string name)

Get the full path to an executable.

installedLocally
bool installedLocally [@property getter]

Whether the component is installed locally.

availableOnSystem
bool availableOnSystem [@property getter]

Whether the component is already present on the system.

available
bool available [@property getter]

Whether the component is installed, locally or already present on the system.

require
void require()

Install this component if necessary.

requireLocal
void requireLocal(bool shouldAddToPath)

Install this component locally, if it isn't already installed.

addedToPath
bool addedToPath;
Undocumented in source.
addToPath
void addToPath()
Undocumented in source. Be warned that the author may not have intended to support it.
atomicInstallImpl
void atomicInstallImpl()

Install to directory atomically.

installImpl
void installImpl(string target)
Undocumented in source. Be warned that the author may not have intended to support it.
saveLocation
string saveLocation(string url)
Undocumented in source. Be warned that the author may not have intended to support it.
cachedAction
template cachedAction(alias fun, string fmt)
Undocumented in source.
urlDigests
string[string] urlDigests;
Undocumented in source.
saveFile
void saveFile(string url, string target)
Undocumented in source. Be warned that the author may not have intended to support it.
saveTo
alias saveTo = cachedAction!(saveFile, "Downloading %s to %s...")
Undocumented in source.
save
alias save = withTarget!(saveLocation, saveTo)
Undocumented in source.
saveAs
auto saveAs(string url, string fn)
Undocumented in source. Be warned that the author may not have intended to support it.
stripArchiveExtension
string stripArchiveExtension(string fn)
Undocumented in source. Be warned that the author may not have intended to support it.
unpackTo
alias unpackTo = cachedAction!(ae.sys.archive.unpack, "Unpacking %s to %s...")
Undocumented in source.
unpack
alias unpack = withTarget!(stripArchiveExtension, unpackTo)
Undocumented in source.
resolveRedirectImpl
string resolveRedirectImpl(string url)
Undocumented in source. Be warned that the author may not have intended to support it.
resolveRedirect
string resolveRedirect(string url)
Undocumented in source. Be warned that the author may not have intended to support it.
windowsOnly
void windowsOnly()
Undocumented in source. Be warned that the author may not have intended to support it.
uninstallable
void uninstallable()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta