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

Should p:file-touch create an empty file if href does not exist? #343

Closed
gimsieke opened this issue Jan 24, 2020 · 2 comments · Fixed by #344
Closed

Should p:file-touch create an empty file if href does not exist? #343

gimsieke opened this issue Jan 24, 2020 · 2 comments · Fixed by #344

Comments

@gimsieke
Copy link
Contributor

@gimsieke gimsieke commented Jan 24, 2020

While I was addressing #325 I noticed that p:file-touch only sets the modification date/time of existing files.

Should it mimic Unix touch’s behavior in that it also creates an empty file if the file specified by href does not exist (and if it is permitted at the given location)?

@Conal-Tuohy

This comment has been minimized.

Copy link

@Conal-Tuohy Conal-Tuohy commented Jan 24, 2020

i think so, yes.

@ndw

This comment has been minimized.

Copy link
Collaborator

@ndw ndw commented Jan 24, 2020

Yes, absolutely.

gimsieke added a commit that referenced this issue Jan 24, 2020
fix #343
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

3 participants
You can’t perform that action at this time.