Issue #13 resolved

Surprising behaviour of touch()

Matthew Woodcraft
created an issue

I would expect a method named touch() to update a file's timestamp if it already exists, not just create a file if it doesn't.

So I suggest that either the name or the behaviour should be changed.

(I checked with a bit of web searching, and everywhere I could find listed the timestamp behaviour is the main function of touch(), with creating files as secondary. Eg )

Comments (2)

  1. Log in to comment