Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pkg/watch/debounce.go
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ import (

const QuietPeriod = 500 * time.Millisecond

// batchDebounceEvents groups identical file events within a sliding time window and writes the results to the returned
// BatchDebounceEvents groups identical file events within a sliding time window and writes the results to the returned
// channel.
//
// The returned channel is closed when the debouncer is stopped via context cancellation or by closing the input channel.
Expand Down
2 changes: 1 addition & 1 deletion pkg/watch/temp.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func NewDir(prefix string) (*TempDir, error) {
return NewDirAtRoot("", prefix)
}

// NewDir creates a new TempDir at the given root.
// NewDirAtRoot creates a new TempDir at the given root.
func NewDirAtRoot(root, prefix string) (*TempDir, error) {
tmpDir, err := os.MkdirTemp(root, prefix)
if err != nil {
Expand Down