Are mtimes of cached item preserved?

nicolas.grekas+bf's Avatar

nicolas.grekas+bf

Aug 10, 2016 @ 12:11 PM

I'd like to add items in the build cache and make them expire after some time.
Can I use the modification time of files to know when they have been generated before being cached?

  1. 1 Posted by nicolas.grekas+... on Aug 10, 2016 @ 12:12 PM

    nicolas.grekas+bf's Avatar

    Typically, I want to do something like:
    `c:\cygwin\bin\find .composer/ -name '*.lock' -mmin +720 -delete`
    where .composer is a folder listed in the "cache" section.

  2. 2 Posted by nicolas.grekas+... on Aug 10, 2016 @ 12:20 PM

    nicolas.grekas+bf's Avatar

    OK, the answer is no, you can close the issue :)

  3. nicolas.grekas+bf closed this discussion on Aug 10, 2016 @ 12:20 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac