gocloc icon indicating copy to clipboard operation
gocloc copied to clipboard

Is the SkipDuplicated option judged to be reversed?

Open boycs007 opened this issue 2 years ago • 1 comments

SkipDuplicated ,when the option set false , duplicated content will be skipped.

utils.go

if !opts.SkipDuplicated {
	ignore := checkMD5Sum(path, fileCache)
	if ignore {
		if opts.Debug {
			fmt.Printf("[ignore=%v] find same md5\n", path)
		}
		return nil
	}
}

boycs007 avatar Aug 14 '23 12:08 boycs007

ref: #68

hhatto avatar Sep 14 '23 07:09 hhatto