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

Added trexio_cp #107

Merged
merged 5 commits into from
Jan 4, 2023
Merged

Added trexio_cp #107

merged 5 commits into from
Jan 4, 2023

Conversation

scemama
Copy link
Member

@scemama scemama commented Jan 3, 2023

@q-posev : Sorry to bother you with another PR! :-)
This one is simple: I added a trexio_cp(source, destination) function to copy trexio files. It is handy because there are lots of cases where we want to copy a file and update the copy, and it is nicer than making a system call in the code.
I chose to use /bin/cp, because it is easy to copy both the HDF5 file or the directory tree of the Text back end. It is probably better than to try to re-implement cp which is supposed to be finely tuned...

@scemama scemama requested a review from q-posev January 3, 2023 18:39
Copy link
Member

@q-posev q-posev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks @scemama ! I left a few comments.

configure.ac Show resolved Hide resolved
src/templates_front/templator_front.org Outdated Show resolved Hide resolved
src/templates_front/templator_front.org Outdated Show resolved Hide resolved
src/templates_front/templator_front.org Show resolved Hide resolved
@scemama scemama merged commit f829036 into master Jan 4, 2023
@scemama scemama deleted the trexio_cp branch January 4, 2023 13:09
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

Successfully merging this pull request may close these issues.

2 participants