class

Pylon::Session::ContentStore

Inherits Reference < Object

Constants

ORPHAN_LIMIT = 20000
PROBE_CONTENT = "pylon snapshot probe".to_slice
PROBE_PREFIX = "probe-"

Class methods

open(directory : String, root : String) : ContentStore | Problem
Source

Instance methods

content(digest : Bytes) : Bytes | Nil
Source
held(digests : Array(Bytes)) : Array(Bytes)
Source
holds?(digest : Bytes) : Bool
Source
keep(relative_path : String, digest : Bytes) : Nil
Source
prune(live : Locations) : Nil
Source

Nested types