visit
Saves an OutputArtifact to a file with text content.
Return
the file itself
Copies a FileReferenceOutputArtifact to the output location. If the source is a directory, it is copied recursively.
When FileReferenceOutputArtifact.useChecksumInvalidation is enabled, a sibling .checksum file is maintained next to the output. If the checksum of the source matches the stored value, the copy is skipped entirely. This avoids redundant I/O for large assets (fonts, third-party libraries) that rarely change between builds.
Return
the copied file or directory
Saves an OutputResourceGroup to a directory which contains its nested files.
Return
the directory file itself