| Home | Trees | Index | Help |
|
|---|
| Package SCons :: Module SConsign :: Class DirFile |
|
Base--+ |Dir--+ | DirFile
Encapsulates reading and writing a per-directory .sconsign file.
| Method Summary | |
|---|---|
dir - the directory for the file | |
Write the .sconsign file to disk. | |
| Inherited from Base | |
| |
| |
Fetch the specified entry attribute. | |
| |
Set the entry. | |
| |
| Method Details |
|---|
__init__(self,
dir)
|
write(self, sync=1)Write the .sconsign file to disk. Try to write to a temporary file first, and rename it if we succeed. If we can't write to the temporary file, it's probably because the directory isn't writable (and if so, how did we build anything in this directory, anyway?), so try to write directly to the .sconsign file as a backup. If we can't rename, try to copy the temporary contents back to the .sconsign file. Either way, always try to remove the temporary file at the end. |
| Home | Trees | Index | Help |
|
|---|
| Generated by Epydoc 2.1 on Wed Dec 12 09:39:31 2007 | http://epydoc.sf.net |