Horde_Vfs_Gc
in package
Class for providing garbage collection for any VFS instance.
Copyright 2003-2017 Horde LLC (http://www.horde.org/)
See the enclosed file LICENSE for license information (LGPL). If you did not receive this file, see http://www.horde.org/licenses/lgpl21.
Tags
Table of Contents
- gc() : mixed
- Garbage collect files in the VFS storage system.
Methods
gc()
Garbage collect files in the VFS storage system.
public
static gc(VFS $vfs, string $path[, int $secs = 345600 ]) : mixed
Parameters
- $vfs : VFS
-
The VFS object to perform garbage collection on.
- $path : string
-
The VFS path to clean.
- $secs : int = 345600
-
The minimum amount of time (in seconds) required before a file is removed.