charon-0.1: Template
Safe HaskellSafe-Inferred
LanguageGHC2021

Charon.Backend.Fdo.BackendArgs

Synopsis

Documentation

backendArgsDirectorySizes :: (MonadAsync m, MonadCatch m, MonadLoggerNS m, MonadPathReader m, MonadPosixCompat m, MonadTerminal m) => HashMap ByteString DirectorySizesEntry -> BackendArgs m PathData Source #

Like backendArgs, but uses directorysizes to transform Fdo PathData -> Core PathData instead of calculating size on the fly. This has the potential to be faster when we expect to do many calculations (e.g. reading the index).