Documentation
¶
Overview ¶
Package prune finds sessions that are over, marks them ended, and says which hold queue items. It never touches a session that is alive or too new to judge, and it never deletes a queue.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Action ¶
type Action struct {
ID state.ID
Dir textsafe.Text // the last part of its working directory, for the user
Mark bool // it has not been marked ended yet
Items int // queue items it still holds
}
Action is one session that is over.
type NoRegistryError ¶
type NoRegistryError struct{ Dir string }
NoRegistryError says the registry could not be read, so nothing can be judged.
func (*NoRegistryError) Error ¶
func (e *NoRegistryError) Error() string