Documentation
¶
Overview ¶
Package files keeps one mod's files as modlock-host does: the files the mod wrote, in a directory of its own, over the files its build ships in data/.
Index ¶
Constants ¶
View Source
const Quota = 4 << 20
Quota bounds the bytes one mod's written files hold together.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Mod ¶
type Mod struct {
// Written is the directory that keeps the files the mod writes, or empty
// to refuse its writes.
Written string
// Data holds the files the build ships, or is nil for none.
Data fs.FS
}
Mod is one mod's files.
Click to show internal directories.
Click to hide internal directories.