Disk constructor
Disk(})
A disk named name over driver, rooted at prefix inside it.
Implementation
Disk(
this.name,
this.driver, {
String prefix = '',
this.readOnly = false,
bool protectRoot = false,
Duration? prune,
}) : prefix = normalizeDiskPath(prefix, disk: name),
_home = normalizeDiskPath(prefix, disk: name),
_protectRoot = protectRoot,
_prune = prune;