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

Source files and solutions with same names are saved to the same local file #24

Open
KalininN opened this issue Dec 23, 2016 · 1 comment

Comments

@KalininN
Copy link
Contributor

If some problem has a source file a.cpp and a solution a.cpp then:

$ polygon-cli init ...
$ polygon-cli update
Invoking problem.files 200
Invoking problem.solutions 200
Downloading new file a.cpp to src/a.cpp
Invoking problem.viewFile 200
...
Updating local file a from a.cpp
Invoking problem.viewSolution 200
...
|  solution |     a.cpp      |     src/a.cpp      | Not changed |
@kunyavskiy
Copy link
Owner

Well, it's may be not very good, but intended solution. This is need to not writing full paths all time. I'm not sure it's easy to fix it. Any way, why source and solution should have same name. It can be not portable to some other problem archive formats.

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