Documentation ¶
Overview ¶
Package action provides a simple helper for consolidating custom watcher actions.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type SyncStatus ¶
type SyncStatus struct {
// contains filtered or unexported fields
}
SyncStatus action status for concurrent use.
func (*SyncStatus) Load ¶
func (s *SyncStatus) Load() Type
Load returns the current requirement status.
func (*SyncStatus) Require ¶
func (s *SyncStatus) Require(t Type)
Require sets the requirement status to t, if current requirement is a subset.
Click to show internal directories.
Click to hide internal directories.