From 2aebbf84606fa6fa5a014ac288eef9bc5d63402e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Sat, 28 Feb 2009 14:02:00 +0100 Subject: directory: added "mtime" property Remember the modification time of each directory. This is important for archives (which are virtual directories right now), but may also be useful for an automatic update mechanism. --- src/directory.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/directory.h') diff --git a/src/directory.h b/src/directory.h index 7ffb87d5e..9321e9530 100644 --- a/src/directory.h +++ b/src/directory.h @@ -33,6 +33,7 @@ struct directory { struct dirvec children; struct songvec songs; struct directory *parent; + time_t mtime; ino_t inode; dev_t device; unsigned stat; /* not needed if ino_t == dev_t == 0 is impossible */ -- cgit v1.2.3