Module
jinks/storage
src/jinks/storage.pookaFilesystem errors retain the path that caused them. Every caller gets the same Result shape, so the command boundary can explain one failure.
API reference
read(name: String) -> Result(String, String)
INFERRED
fn(String) -> Result(String, String)write(name: String, text: String) -> Result(Nil, String)
INFERRED
fn(String, String) -> Result(Nil, String)files(root: String, prefix: String) -> Result(List(String), String)
INFERRED
fn(String, String) -> Result(List(String), String)Enumerate files only. Sorting is independent of filesystem iteration order.
walk(root: String, prefix: String, names: List(String), found: List(String)) -> Result(
List(String),
String
)
INFERRED
fn(String, String, List(String), List(String)) -> Result(List(String), String)