Indicates whether this is the root of the source tree.
Constructor used by sourceDirContext. Don't use directly.
root context containing this source context. null for root
direct parent context for this source context. null for root.
absolute path for root or relative path for non-root.
Ensures the given direct sub-directory of this source path is initialized.
Computes the full part of a filename relative to the output path.
Resolves a path relative to this source directory to an absolute path. If the given path is already absolute, no changes are made.
path to resolve, relative to this directory or absolute.
resolved absolute path.
Represents the context of a directory within source tree, which consists of:
Most tools use the SourceDirContext for locating inputs in source tree and derive the path of target outputs.
It is expected to be initiated only in the scripts for the source directory, see sourceDirContext for examples.