Package-level declarations
Types
Base class for Git repository content roots, providing URL construction for hosted repos.
Utility object providing arrayPrint and asString overloads for all primitive array types and String arrays.
Utility object providing extension functions for atomic types.
Root abstraction for a content location, either a local directory or a remote repository.
Represents a readable content source, either local or remote.
A ContentSource that reads content from a local file.
A ContentRoot backed by the local file system.
A ContentSource pointing to a specific file in a GitHub repository.
A ContentRoot representing a GitHub repository.
A ContentSource pointing to a specific file in a GitLab repository.
A ContentRoot representing a GitLab repository.
Utility for reading classpath resource files.
A ContentSource that reads content from a URL.
Properties
Functions
Capitalizes the first character of this String.
Captures everything printed to System.out during execution of block and returns it as a String.
Ensures this String starts with a leading /.
Loads a banner like getBanner, finding filename through the thread context classloader and falling back to logger's classloader.
Loads an ASCII art banner from a classpath resource file, trims leading/trailing blank lines, and indents each line for display.
Returns true if this trimmed String is wrapped in double quotes.
Returns true if this trimmed String is not wrapped in double quotes.
Returns true if this String is not quoted.
Returns true if this trimmed String is not wrapped in single quotes.
Returns true if this trimmed String is wrapped in single quotes.
Masks username and password in every URL in a string, replacing them with *****.
Generates a cryptographically secure random byte array for use as a salt.
Generates a cryptographically secure random string for use as a salt.
Returns null if this String is blank, otherwise returns the string itself.
Like Result.onFailure, but rethrows CancellationException to preserve coroutine cancellation.
Reads key=value lines from each of fileNames and sets them as JVM system properties.
Like runCatching, but rethrows CancellationException to preserve coroutine cancellation semantics.
Serializes this object with Java serialization.
Serializes this object with Java serialization; identical to toByteArray, kept for source compatibility.
Wraps this String in double quotes.
Legacy deserialization method - DEPRECATED because deserializing untrusted bytes can execute arbitrary code. Use toObjectSecure instead.
Deserialize with type validation and security checks.
Joins this list of strings into a root-relative path (with a leading separator).
Wraps this String in single quotes.
Verifies the SHA-256 checksum prepended by withChecksum and returns the data without it.
Prepends a SHA-256 checksum of this data, for detecting accidental corruption.
Prepends line numbers to each line of this String.