3 * File repository with no files.
10 * File repository with no files, for performance testing
13 class NullRepo
extends FileRepo
{
14 function __construct( $info ) {}
16 function storeBatch( $triplets, $flags = 0 ) {
20 function storeTemp( $originalName, $srcPath ) {
23 function append( $srcPath, $toAppendPath, $flags = 0 ){
26 function appendFinish( $toAppendPath ){
29 function publishBatch( $triplets, $flags = 0 ) {
32 function deleteBatch( $sourceDestPairs ) {
35 function fileExistsBatch( $files, $flags = 0 ) {
38 function getFileProps( $virtualUrl ) {
41 function newFile( $title, $time = false ) {
44 function findFile( $title, $options = array() ) {