func (b *DirManifestBuilder) AddFailedEntry(relPath string, isIgnoredError bool, err error) {
	b.mu.Lock()
	defer b.mu.Unlock()

	if isIgnoredError {
		b.summary.IgnoredErrorCount++
	} else {
		b.summary.FatalErrorCount++
	}

	b.summary.FailedEntries = append(b.summary.FailedEntries, &fs.EntryWithError{
		EntryPath: relPath,
		Error:     err.Error(),
	})
}
// AddFailedEntry adds a failed directory entry to the builder and increments enither ignored or fatal error count.
AddFailedEntry adds a failed directory entry to the builder and increments enither ignored or fatal error count.
// AddFailedEntry adds a failed directory entry to the builder and increments enither ignored or fatal error count .
func (b *DirManifestBuilder) AddFailedEntry(relPath string, isIgnoredError bool, err error) {
	b.mu.Lock()
	defer b.mu.Unlock()
	if isIgnoredError {
		b.summary.IgnoredErrorCount++
	} else {
		b.summary.FatalErrorCount++
	}
	b.summary.FailedEntries = append(b.summary.FailedEntries, &fs.EntryWithError{
		EntryPath: relPath,
		Error:     err.Error(),
	})
}
func ( b * DirManifestBuilder ) AddFailedEntry ( relPath string , isIgnoredError bool , err error ) { b . mu . Lock ( ) defer b . mu . Unlock ( ) if isIgnoredError { b . summary . IgnoredErrorCount ++ } else { b . summary . FatalErrorCount ++ } b . summary . FailedEntries = append ( b . summary . FailedEntries , & fs . EntryWithError { EntryPath : relPath , Error : err . Error ( ) , } ) }
AddFailedEntry adds a failed directory entry to the builder and increments enither ignored or fatal error count.
AddFailedEntry adds a failed directory entry to the builder and increments enither ignored or fatal error count .