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 publishBatch( $triplets, $flags = 0 ) {
29 function deleteBatch( $sourceDestPairs ) {
32 function fileExistsBatch( $files, $flags = 0 ) {
35 function getFileProps( $virtualUrl ) {
38 function newFile( $title, $time = false ) {
41 function findFile( $title, $options = array() ) {