Class Horde_Vfs_Gc
Class for providing garbage collection for any VFS instance.
Copyright 2003-2012 Horde LLC (http://www.horde.org/)
See the enclosed file COPYING for license information (LGPL). If you
did not receive this file, see http://www.horde.org/licenses/lgpl21.
Methods summary
public
|
#
gc( VFS $vfs, string $path, integer $secs = 345600 )
Garbage collect files in the VFS storage system.
Garbage collect files in the VFS storage system.
Parameters
- $vfs
- The VFS object to perform garbage collection on.
- $path
- The VFS path to clean.
- $secs
- <p>The minimum amount of time (in seconds) required
before a file is removed.</p>
|