Skip to content

touch doesn't set the provided time if it created the file #101

Description

@jeaye
(fs/touch "meow" (+ (System/currentTimeMillis) 3600000))

Should create a file named meow and set its modification time one hour in the future. If the file is being created, the modification time is just set to the creation time. If we run the same function again, this time not creating the file, the modification time is set properly. Is this intended behavior? It seems like a bug to me.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions