MediaWiki  1.27.4
File backend

File backend is used to interact with file storage systems, such as the local file system, NFS, or cloud storage systems. More...

Collaboration diagram for File backend:

Modules

 File journal
 
 Lock management
 

Files

file  FileBackend.php
 Base class for all file backends.
 
file  FileBackendDBRepoWrapper.php
 Proxy backend that manages file layout rewriting for FileRepo.
 
file  FileBackendGroup.php
 File backend registration handling.
 
file  FileBackendMultiWrite.php
 Proxy backend that mirrors writes to several internal backends.
 
file  FileBackendStore.php
 Base class for all backends using particular storage medium.
 
file  FileOp.php
 Helper class for representing operations with transaction support.
 
file  FileOpBatch.php
 Helper class for representing batch file operations.
 
file  FSFile.php
 Non-directory file on the file system.
 
file  FSFileBackend.php
 File system based backend.
 
file  MemoryFileBackend.php
 Simulation of a backend storage in memory.
 
file  MockFileBackend.php
 Simulation (mock) of a backend storage.
 
file  MockFSFile.php
 Mock of a filesystem file.
 
file  SwiftFileBackend.php
 OpenStack Swift based file backend.
 
file  TempFSFile.php
 Location holder of files stored temporarily.
 

Classes

class  FileBackend
 Base class for all file backend classes (including multi-write backends). More...
 
class  FileBackendDBRepoWrapper
 Proxy backend that manages file layout rewriting for FileRepo. More...
 
class  FileBackendError
 File backend exception for checked exceptions (e.g. More...
 
class  FileBackendException
 Generic file backend exception for checked and unexpected (e.g. More...
 
class  FileBackendGroup
 Class to handle file backend registration. More...
 
class  FileBackendMultiWrite
 Proxy backend that mirrors writes to several internal backends. More...
 
class  FileBackendStore
 Base class for all backends using particular storage medium. More...
 
class  FileBackendStoreShardListIterator
 FileBackendStore helper function to handle listings that span container shards. More...
 
class  FileOp
 FileBackend helper class for representing operations. More...
 
class  FileOpBatch
 Helper class for representing batch file operations. More...
 
class  FSFile
 Class representing a non-directory file on the file system. More...
 
class  FSFileBackend
 Class for a file system (FS) based file backend. More...
 
class  FSFileBackendList
 Wrapper around RecursiveDirectoryIterator/DirectoryIterator that catches exception or does any custom behavoir that we may want. More...
 
class  MemoryFileBackend
 Simulation of a backend storage in memory. More...
 
class  MockFileBackend
 Class simulating a backend store. More...
 
class  MockFSFile
 Class representing an in memory fake file. More...
 
class  SwiftFileBackend
 Class for an OpenStack Swift (or Ceph RGW) based file backend. More...
 
class  SwiftFileBackendList
 SwiftFileBackend helper class to page through listings. More...
 
class  TempFSFile
 This class is used to hold the location and do limited manipulation of files stored temporarily (this will be whatever wfTempDir() returns) More...
 

Detailed Description

File backend is used to interact with file storage systems, such as the local file system, NFS, or cloud storage systems.