func NewComparer(out io.Writer) (*Comparer, error) {
	tmp, err := os.MkdirTemp("", "kopia")
	if err != nil {
		return nil, errors.Wrap(err, "error creating temp directory")
	}

	return &Comparer{out: out, tmpDir: tmp}, nil
}
// NewComparer creates a comparer for a given repository that will output the results to a given writer.
NewComparer creates a comparer for a given repository that will output the results to a given writer.
// NewComparer creates a comparer for a given repository that will output the results to a given writer .
func NewComparer(out io.Writer) (*Comparer, error) {
	tmp, err := os.MkdirTemp("", "kopia")
	if err != nil {
		return nil, errors.Wrap(err, "error creating temp directory")
	}
	return &Comparer{out: out, tmpDir: tmp}, nil
}
func NewComparer ( out io . Writer ) ( * Comparer , error ) { tmp , err := os . MkdirTemp ( " " , " " ) if err != nil { return nil , errors . Wrap ( err , " " ) } return & Comparer { out : out , tmpDir : tmp } , nil }
NewComparer creates a comparer for a given repository that will output the results to a given writer.
NewComparer creates a comparer for a given repository that will output the results to a given writer .