Skip to content

v0.3.3 — Config.Dir + DataDir absolute path

Choose a tag to compare

@kolkov kolkov released this 12 Sep 16:41
· 11 commits to main since this release
c347e3e
  • Config.Dir: working directory for spawned daemon process (default = DataDir). Prevents daemon from holding parent's CWD which may be deleted or unmounted after start
  • DataDir absolute: resolved to absolute path at construction time via filepath.Abs. Fixes relative DataDir (.gode) causing path doubling on Windows
  • Config immutable after New(): applyDefaults runs once at construction, methods only read — eliminates data race on concurrent calls