gofmt: format all remaining files with the go1.27 toolchain
The tree was formatted with an older gofmt; go1.27's gofmt additionally wants: EOF exactly one newline (no trailing blank lines), imports sorted alphabetically within a block, mixed-precedence binary expressions re-spaced for grouping ((a+b)/c), single-field composite literals un-aligned, adjacent one-line method signatures aligned, and one-line bodies containing a compound statement expanded. Applied repo-wide (31 files under internal/); pure formatting, no semantic changes — build and the full test suite pass.
This commit is contained in:
@@ -68,10 +68,10 @@ type notifyEvent struct {
|
||||
// FileSystem is a thread-safe in-memory filesystem for testing.
|
||||
type FileSystem struct {
|
||||
mu sync.RWMutex
|
||||
files map[string]*File // path -> file
|
||||
delay time.Duration // uniform delay applied to all operations
|
||||
changes chan FileChangeEvent // async change notifications (nil = no notifications)
|
||||
writeError bool // Added to simulate write errors
|
||||
files map[string]*File // path -> file
|
||||
delay time.Duration // uniform delay applied to all operations
|
||||
changes chan FileChangeEvent // async change notifications (nil = no notifications)
|
||||
writeError bool // Added to simulate write errors
|
||||
}
|
||||
|
||||
// NewFileSystem creates an empty mock filesystem.
|
||||
|
||||
Reference in New Issue
Block a user