Skip to main content

Module persist

Module persist 

Source

Functionsยง

deserialize
Deserialize a CodeGraph from bytes.
load
Load a CodeGraph from a file path. Returns an empty graph if the file does not exist or cannot be parsed.
save
Save a CodeGraph to a file, creating parent directories if needed.
serialize
Serialize a CodeGraph to bytes using bincode.