rejeep / f.el

Modern API for working with files and directories in Emacs
GNU General Public License v3.0
680 stars 68 forks source link

[Feature request] `f-newer-p` and `f-older-p` #102

Closed rileyrg closed 1 year ago

rileyrg commented 3 years ago

Any chance of a "newer" function? ie (if (f-newer fileA fileB) ) ... fileA is newer than fileB...

Phundrak commented 2 years ago

I think this would be a nice addition to f. f-newer-p could also be accompanied by f-older-p, though the person implementing it should be wary not to define one as being the opposite of the other, two files could be created at the same time.