\Horde_Vfs_Gc

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.

Summary

Methods
Properties
Constants
gc()
No public properties found
No constants found
No protected methods found
No protected properties found
N/A
No private methods found
No private properties found
N/A

Methods

gc()

gc(\VFS  $vfs, string  $path, integer  $secs = 345600) 

Garbage collect files in the VFS storage system.

Parameters

\VFS $vfs

The VFS object to perform garbage collection on.

string $path

The VFS path to clean.

integer $secs

The minimum amount of time (in seconds) required before a file is removed.