Versions in this module Expand all Collapse all v0 v0.17.21 Aug 29, 2026 v0.17.20 Aug 29, 2026 Changes in this version + const DefaultDirMode + const DefaultFileMode + const DefaultTimeoutSeconds + const MaxOutputBytes + const MaxRequestBytes + const MaxTimeoutSeconds + const SkipReasonAbsolutePath + const SkipReasonDeleteFailed + const SkipReasonDeleteMissing + const SkipReasonEmptyPath + const SkipReasonExceedsFileCount + const SkipReasonExceedsPerFile + const SkipReasonExceedsTotal + const SkipReasonGitPath + const SkipReasonInvalidBase64 + const SkipReasonInvalidMode + const SkipReasonInvalidPath + const SkipReasonNotAFile + const SkipReasonNulInPath + const SkipReasonPathTraversal + const SkipReasonReadFailed + const SkipReasonSymlink + const SkipReasonSymlinkEscape + const SkipReasonWriteFailed + const StartFailureExitCode + const StatusOK + const StatusPartial + const TimeoutExitCode + const TxnClientContainer + const TxnClientWASM + var MaxFileBytes = 5 << 20 + var MaxFileCount = 2000 + var MaxTotalBytes = 100 << 20 + var TxnGitTimeout = 10 * time.Second + type ApplyResult struct + Applied int + Deleted int + Skipped []SkippedEntry + Status string + func ApplyDelta(ctx context.Context, workdir string, manifest DeltaManifest) (ApplyResult, error) + type DeltaBase struct + Client string + GitSha string + type DeltaFile struct + ContentBase64 string + Mode string + Path string + Size int + type DeltaManifest struct + Base DeltaBase + Deletes []string + Files []DeltaFile + Skipped []SkippedEntry + Truncated bool + func BuildPull(ctx context.Context, workdir string) (DeltaManifest, error) + type RunRequest struct + Command string + TimeoutSeconds int + Workdir string + type RunResult struct + DurationMs int64 + ExitCode int + Stderr string + Stdout string + TimedOut bool + Truncated bool + func RunCommand(ctx context.Context, workdir string, request RunRequest) (RunResult, error) + type SkippedEntry struct + Path string + Reason string + type Status struct + Branch string + DeletedFiles []string + DirtyFiles []string + InGitRepo bool + Timestamp string + TotalChanges int + UntrackedFiles []string + func BuildStatus(ctx context.Context, workdir string) (Status, error)