Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
type Repo struct {
// contains filtered or unexported fields
}
Repo manages filesystem operations for saving files marked by the fileSuffix in order to support crash fault tolerance for components that need it by maintaining a file repo structure storing intermediate state.
func New ¶
New initializes a new file repo at repoParentDir/fileSuffix. All file system operations on the returned file repo are thread safe.
func (*Repo) FileToBaseName ¶
FileToBaseName strips the suffix from the file name to get the associated channel name.
Click to show internal directories.
Click to hide internal directories.