mirror of
https://github.com/Brandon-Rozek/Rozbot.git
synced 2024-10-17 21:04:34 -04:00
8 lines
154 B
JavaScript
8 lines
154 B
JavaScript
|
var fsStat = require('../promise/fs-stat.js');
|
||
|
|
||
|
module.exports = function(file) {
|
||
|
return fsStat(file).then(function(stats) {
|
||
|
return stats.mtime;
|
||
|
})
|
||
|
}
|