# Functions
CreateLockMap returns a new LockMap.
DCHECK executes the checker function only if the DEBUG environment variable is set.
DetectGoroutineLeak detects if there is a leak of goroutines over the life of a test.
DownloadURLToFileWithProgress downloads the contents of the given URL to the given file path on disk, invoking the callback function to report progress.
GetCancelationHandle returns either the existing cancelation handle (if not nil) or a new no-op handle.
IsId returns whether the given string is a possible ID as returned by NewUniqueId.
LatestSemanticVersion returns the latest non-patch semantic version found in the list of available versions, if any.
LogMessageToConsole logs a message to the console, with the given level and range.
LogToConsole logs a message to the console, with the given level and range.
NewCancelationHandle returns a new handle for canceling an operation.
NewImmutableMap creates a new, empty immutable map.
NewRangeMapTree creates a new range map tree.
NewUniqueId returns a new unique ID.
NextSemanticVersion returns the next logic semantic version from the current version, given the update option.
NoopCancelationHandle returns a cancelation handle that cannot be canceled.
ParseFloat parses the given string value into a float64, panicing on failure.
Queue returns a new ordered work queue.
SemanticUpdateVersion finds the semver in the available versions list that is newer than the current version.
WalkSourcePath walks the given source path, invoking the given handler for each file found.
# Constants
No description provided by the author
No description provided by the author
No description provided by the author
NextMajorVersion indicates that the major version field should be incremented.
NextMinorVersion indicates that the minor version field should be incremented.
NextPatchVersion indicates that the patch version field should be incremented.
RECURSIVE_PATTERN defines the pattern for recursively searching for files.
No description provided by the author
UpdateVersionMajor indicates the both minor and major version updates are allowed.
UpdateVersionMinor indicates that only minor version updates are allowed.
No description provided by the author
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
No description provided by the author
IntRange defines a range of integer values, inclusive.
LockMap defines a concurrent-safe map that returns a sync Mutex for each key.
RangeMapTree defines a helper struct for cached, faster lookup of an int range to an associated piece of data, under a specific key (such as a source file path).
No description provided by the author
# Interfaces
CancelationHandle defines a handle for the cancelation of operations.
ImmutableMap defines an immutable map struct, where Set-ing a new key returns a new ImmutableMap.
# Type aliases
CancelFunction is a function that can be invoked to cancel the operation.
No description provided by the author
NextVersionOption defines the options for the NextSemanticVersion method.
PathHandler defines a handler to be invoked for every file found.
ProgressCallback is a callback for the progress of a file download operation.
RangeMapTreeCalculator returns the calculated value for the given key and range.
UpdateVersionOption defines the options for the SemanticUpdateVersion method.