]> git.tdb.fi Git - builder.git/blobdiff - source/filetarget.h
Also use file size to determine whether to reinstall a file
[builder.git] / source / filetarget.h
index 3b8bfcc4a0f0212f43bc23a058ecbf6f422215c2..982b8cb6abce166751d05cd4f5c4b82021503d56 100644 (file)
@@ -19,10 +19,12 @@ class FileTarget: public Target
 {
 protected:
        Msp::FS::Path path;
+       unsigned size;
 
        FileTarget(Builder &, const Package *, const Msp::FS::Path &);
 public:
        const Msp::FS::Path &get_path() const { return path; }
+       unsigned get_size() const { return size; }
 };
 
 #endif