Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type State ¶
type State struct {
// contains filtered or unexported fields
}
func (*State) AppendToState ¶
AppendToState records that path (with the given size) has been processed. see https://github.com/Altinity/clickhouse-backup/issues/1172
func (*State) Close ¶
func (s *State) Close()
Close releases the state file, it must be called before removing the backup directory which contains it, on CIFS/SMB an open file defers its deletion and os.RemoveAll fails with ENOTEMPTY, see https://github.com/Altinity/clickhouse-backup/issues/1599 Close is idempotent, all calls after it are no-ops
func (*State) IsAlreadyProcessed ¶
IsAlreadyProcessed reports whether path was already processed and its recorded size. see https://github.com/Altinity/clickhouse-backup/issues/1172
Click to show internal directories.
Click to hide internal directories.