Skip to content

Commit

Permalink
update comment
Browse files Browse the repository at this point in the history
  • Loading branch information
matt2e committed Nov 15, 2024
1 parent 72dd80e commit 5d8fe1a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions internal/watch/filehash.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,8 +60,9 @@ func CompareFileHashes(oldFiles, newFiles FileHashes) []FileChange {
return changes
}

// ComputeFileHashes computes the SHA256 hash of all (non-git-ignored) files in
// the given directory.
// ComputeFileHashes computes the SHA256 hash of all files in the given directory.
//
// If skipGitIgnoredFiles is true, files that are ignored by git will be skipped.
func ComputeFileHashes(dir string, skipGitIgnoredFiles bool, patterns []string) (FileHashes, error) {
// Watch paths are allowed to be outside the deploy directory.
fileHashes := make(FileHashes)
Expand Down

0 comments on commit 5d8fe1a

Please sign in to comment.