Skip to content

Commit 6d43442

Browse files
benbjohnsonclaude
andcommitted
style: fix struct field alignment in VFSFile
🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6fc64db commit 6d43442

File tree

1 file changed

+10
-10
lines changed

1 file changed

+10
-10
lines changed

vfs.go

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -449,16 +449,16 @@ type VFSFile struct {
449449
commit uint32
450450

451451
// Write support fields (only used when writeEnabled is true)
452-
writeEnabled bool // Whether write support is enabled
453-
dirty map[uint32]int64 // Dirty pages: pgno -> offset in buffer file
454-
pendingTXID ltx.TXID // Next TXID to use for sync
455-
expectedTXID ltx.TXID // Expected remote TXID (for conflict detection)
456-
bufferFile *os.File // Temp file for durability
457-
bufferPath string // Path to buffer file
458-
bufferNextOff int64 // Next write offset in buffer file
459-
syncTicker *time.Ticker // Ticker for periodic sync
460-
syncInterval time.Duration // Interval for periodic sync
461-
inTransaction bool // True during active write transaction
452+
writeEnabled bool // Whether write support is enabled
453+
dirty map[uint32]int64 // Dirty pages: pgno -> offset in buffer file
454+
pendingTXID ltx.TXID // Next TXID to use for sync
455+
expectedTXID ltx.TXID // Expected remote TXID (for conflict detection)
456+
bufferFile *os.File // Temp file for durability
457+
bufferPath string // Path to buffer file
458+
bufferNextOff int64 // Next write offset in buffer file
459+
syncTicker *time.Ticker // Ticker for periodic sync
460+
syncInterval time.Duration // Interval for periodic sync
461+
inTransaction bool // True during active write transaction
462462

463463
wg sync.WaitGroup
464464
ctx context.Context

0 commit comments

Comments
 (0)