Open vedantroy opened 4 months ago
To create an empty file, you can do
await fs._pipe_file(path, b"")
I don't think any async backends support the extended use of touch
to update the timestamp or truncate to a specific length; but you can probably update metadata separately (also backend-specific).
Exactly as the question sounds. Is there an async version of touch?