Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Only compare across two dirs (code bases) #326

Closed
appelflap opened this issue Feb 25, 2020 · 2 comments
Closed

Only compare across two dirs (code bases) #326

appelflap opened this issue Feb 25, 2020 · 2 comments

Comments

@appelflap
Copy link

Is your feature request related to a problem? Please describe.
Not really a problem, more a feature request. Will fix amount of output though. And add ease of use for this specific use case. At the moment I make a dir and add two symlinks to that dir to compare two code bases. Problem is that 95% of the output needs to be filtered out (duplicates within one code base).

Describe the solution you'd like
Being able to point to two separate dirs and only output clones that match across those dirs. Not the clones within one dir.

Describe alternatives you've considered
Parsing the html/json output removing all duplicates where the basedir match. But JSON is easy to parse, but HTML output is very nice and no way to go from filtered JSON to HTML output.

@appelflap appelflap changed the title Only Compare across two dirs (code bases) Only compare across two dirs (code bases) Feb 25, 2020
@kucherenko
Copy link
Owner

Thank you for the feature request, it is excellent idea

@kucherenko
Copy link
Owner

implemented in jscpd@3.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants