Page Menu
Home
WickedGov Phorge
Search
Configure Global Search
Log In
Files
F5986431
SwiftFileBackendDirList.php
No One
Temporary
Actions
Download File
Edit File
Delete File
View Transforms
Subscribe
Flag For Later
Award Token
Size
849 B
Referenced Files
None
Subscribers
None
SwiftFileBackendDirList.php
View Options
<?php
/**
* OpenStack Swift based file backend.
*
* @license GPL-2.0-or-later
* @file
* @ingroup FileBackend
* @author Russ Nelson
*/
namespace
Wikimedia\FileBackend\FileIteration
;
/**
* Iterator for listing directories
*/
class
SwiftFileBackendDirList
extends
SwiftFileBackendList
{
/**
* @see Iterator::current()
* @return string|bool String (relative path) or false
*/
#[\ReturnTypeWillChange]
public
function
current
()
{
return
substr
(
current
(
$this
->
iterableBuffer
),
$this
->
suffixStart
,
-
1
);
}
/** @inheritDoc */
protected
function
pageFromList
(
$container
,
$dir
,
&
$after
,
$limit
,
array
$params
)
{
return
$this
->
backend
->
getDirListPageInternal
(
$container
,
$dir
,
$after
,
$limit
,
$params
);
}
}
/** @deprecated class alias since 1.43 */
class_alias
(
SwiftFileBackendDirList
::
class
,
'SwiftFileBackendDirList'
);
File Metadata
Details
Attached
Mime Type
text/x-php
Expires
Sun, Oct 4, 00:06 (2 w, 4 d ago)
Storage Engine
local-disk
Storage Format
Raw Data
Storage Handle
78/45/4cf4073dd4e1761ca8905296104e
Default Alt Text
SwiftFileBackendDirList.php (849 B)
Attached To
Mode
rMWPROD MediaWiki Production
Attached
Detach File
Event Timeline
Log In to Comment