A small collection of file system utilities for Clojure.
This library provides a thin, opinionated wrapper around babashka.fs for common tasks such as reading and writing files, handling byte arrays, and working with paths.
com.sturdystats/sturdy-fs {:mvn/version "VERSION"}- Read files as bytes, strings, EDN, or lines
- Write bytes, strings, or EDN with automatic parent directory creation
- Optional atomic file writes
- Simple helpers for path manipulation
- POSIX permission helpers (
chmod-600!,chmod-400!)
- Minimal API
- Explicit error checking (via
taoensso.truss) - No global state
- Intended as a small shared utility library, not a full filesystem abstraction
- Streaming or lazy IO
- File watching
- Platform-specific abstractions beyond what
babashka.fsprovides
Apache License 2.0
Copyright © Sturdy Statistics