internal/

directory
v0.5.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Nov 23, 2026 License: MIT

Directories

Path Synopsis
Package mutants holds the knobs that each revert one fix the model checks found, so the simulator can show it finds that bug again (spec 0005 D9).
Package mutants holds the knobs that each revert one fix the model checks found, so the simulator can show it finds that bug again (spec 0005 D9).
Package proxytest is a forwarding HTTP proxy for tests, which records every request it carries.
Package proxytest is a forwarding HTTP proxy for tests, which records every request it carries.
sim
Package sim is the deterministic simulator that gates spec 0004 (spec 0005).
Package sim is the deterministic simulator that gates spec 0004 (spec 0005).
crashfs
Package crashfs is the simulator's crash-model filesystem (spec 0005 D3): an afero.Fs over afero's in-memory filesystem that refuses what POSIX refuses, makes file data and directory entries durable only when they are synced, and models a process crash and a power cut.
Package crashfs is the simulator's crash-model filesystem (spec 0005 D3): an afero.Fs over afero's in-memory filesystem that refuses what POSIX refuses, makes file data and directory entries durable only when they are synced, and models a process crash and a power cut.
lint
Package lint checks the mechanical rules of spec 0005 D2 over the code on the simulated path: rule 1 (no goroutines started), rule 3 (no global random source, no package-level channel or WaitGroup), rule 4 (map ranges sorted or annotated) and rule 6's clauses on context.Background and context.WithoutCancel.
Package lint checks the mechanical rules of spec 0005 D2 over the code on the simulated path: rule 1 (no goroutines started), rule 3 (no global random source, no package-level channel or WaitGroup), rule 4 (map ranges sorted or annotated) and rule 6's clauses on context.Background and context.WithoutCancel.
locktable
Package locktable is the simulator's lock table (spec 0005 D3): the file store's Locker, with one view per simulated process, so that the simulator decides whose locks a crash releases, can grant owner.lock to several supervisors at once, and can revoke it from a live holder.
Package locktable is the simulator's lock table (spec 0005 D3): the file store's Locker, with one view per simulated process, so that the simulator decides whose locks a crash releases, can grant owner.lock to several supervisors at once, and can revoke it from a live holder.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL