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