[gentoo-user] Set a property on a file and have it remove when the file is modified?

2008-03-01 Thread Erik
Is it possible to set a property on a file and have it remove automatically when the file is modified? Suppose that we have a style checker that checks a lot of source code files. Once it examined a file and found it to be clean, it should set a property on the file ("style-clean"). Whenever t

Re: [gentoo-user] Set a property on a file and have it remove when the file is modified?

2008-03-01 Thread Florian Philipp
On Sat, 2008-03-01 at 13:40 +0100, Erik wrote: > Is it possible to set a property on a file and have it remove > automatically when the file is modified? > > Suppose that we have a style checker that checks a lot of source code > files. Once it examined a file and found it to be clean, it shoul

Re: [gentoo-user] Set a property on a file and have it remove when the file is modified?

2008-03-01 Thread Etaoin Shrdlu
On Saturday 1 March 2008, Erik wrote: > Is it possible to set a property on a file and have it remove > automatically when the file is modified? > > Suppose that we have a style checker that checks a lot of source code > files. Once it examined a file and found it to be clean, it should set > a pro

Re: [gentoo-user] Set a property on a file and have it remove when the file is modified?

2008-03-01 Thread Matthias Guede
2008/3/1, Erik <[EMAIL PROTECTED]>: > Is it possible to set a property on a file and have it remove > automatically when the file is modified? > > Suppose that we have a style checker that checks a lot of source code > files. Once it examined a file and found it to be clean, it should set a > p

Re: [gentoo-user] Set a property on a file and have it remove when the file is modified?

2008-03-01 Thread Erik
Matthias Guede skrev: 2008/3/1, Erik <[EMAIL PROTECTED]>: Is it possible to set a property on a file and have it remove automatically when the file is modified? Suppose that we have a style checker that checks a lot of source code files. Once it examined a file and found it to be clean, i

Re: [gentoo-user] Set a property on a file and have it remove when the file is modified?

2008-03-02 Thread Daniel Iliev
On Sat, 01 Mar 2008 17:49:34 +0100 Erik <[EMAIL PROTECTED]> wrote: > Matthias Guede skrev: > > 2008/3/1, Erik <[EMAIL PROTECTED]>: > > > >> Is it possible to set a property on a file and have it remove > >> automatically when the file is modified? > >> > >> Suppose that we have a style checke

Re: [gentoo-user] Set a property on a file and have it remove when the file is modified?

2008-03-03 Thread Erik
Daniel Iliev skrev: Actually, if there are no other concerns, you'd have to keep only one file for reference. Then you could compare the modification times of all other files with this reference file. Good idea! I implemented it and it reduced the number of cache files/directories in the tr