Skip to content

Commit 3615435

Browse files
longxiangqiaotwpayne
authored andcommitted
chore: fix some function names in comment
Signed-off-by: longxiangqiao <[email protected]>
1 parent 9d14547 commit 3615435

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

internal/chezmoi/sourcestate.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1459,7 +1459,7 @@ func (s *SourceState) addTemplateData(sourceAbsPath AbsPath) error {
14591459
return nil
14601460
}
14611461

1462-
// addTemplateData adds all template data in the directory sourceAbsPath to s.
1462+
// addTemplateDataDir adds all template data in the directory sourceAbsPath to s.
14631463
func (s *SourceState) addTemplateDataDir(sourceAbsPath AbsPath, fileInfo fs.FileInfo) error {
14641464
walkFunc := func(dataAbsPath AbsPath, fileInfo fs.FileInfo, err error) error {
14651465
if dataAbsPath == sourceAbsPath {
@@ -2619,7 +2619,7 @@ func (s *SourceState) readExternalArchiveFile(
26192619
}), nil
26202620
}
26212621

2622-
// ReadExternalDir returns all source state entries in an external_ dir.
2622+
// readExternalDir returns all source state entries in an external_ dir.
26232623
func (s *SourceState) readExternalDir(
26242624
rootSourceAbsPath AbsPath,
26252625
rootSourceRelPath SourceRelPath,

0 commit comments

Comments
 (0)