mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-10 21:38:54 +00:00
[ticket/15692] Update docblock
PHPBB3-15692
This commit is contained in:
parent
d0b7875b18
commit
115749a9ec
1 changed files with 11 additions and 2 deletions
|
@ -142,7 +142,7 @@ class storage
|
||||||
*
|
*
|
||||||
* @param string $path file/directory to check
|
* @param string $path file/directory to check
|
||||||
*
|
*
|
||||||
* @return bool Returns true if the file/directory exist, false otherwise.
|
* @return bool Returns true if the file/directory exist, false otherwise
|
||||||
*/
|
*/
|
||||||
public function exists($path, $full_check = false)
|
public function exists($path, $full_check = false)
|
||||||
{
|
{
|
||||||
|
@ -154,7 +154,8 @@ class storage
|
||||||
*
|
*
|
||||||
* @param string $path file/directory to remove
|
* @param string $path file/directory to remove
|
||||||
*
|
*
|
||||||
* @throws \phpbb\storage\exception\exception When removal fails.
|
* @throws \phpbb\storage\exception\exception When removal fails
|
||||||
|
* When the file doesn't exist
|
||||||
*/
|
*/
|
||||||
public function delete($path)
|
public function delete($path)
|
||||||
{
|
{
|
||||||
|
@ -355,6 +356,13 @@ class storage
|
||||||
$this->cache->destroy('_storage_' . $this->get_name() . '_numfiles');
|
$this->cache->destroy('_storage_' . $this->get_name() . '_numfiles');
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Check if a file is tracked
|
||||||
|
*
|
||||||
|
* @param string $path The file
|
||||||
|
*
|
||||||
|
* @return bool True if file is tracked
|
||||||
|
*/
|
||||||
public function is_tracked($path)
|
public function is_tracked($path)
|
||||||
{
|
{
|
||||||
$sql_ary = array(
|
$sql_ary = array(
|
||||||
|
@ -393,6 +401,7 @@ class storage
|
||||||
* @param string $path The file
|
* @param string $path The file
|
||||||
*
|
*
|
||||||
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
* @throws \phpbb\storage\exception\not_implemented When the adapter doesnt implement the method
|
||||||
|
* When the file doesn't exist
|
||||||
*
|
*
|
||||||
* @return \phpbb\storage\file_info Returns file_info object
|
* @return \phpbb\storage\file_info Returns file_info object
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Add table
Reference in a new issue