Roxen.git / server / modules / filesystems / tarfs.pike

version» Context lines:

Roxen.git/server/modules/filesystems/tarfs.pike:1:   inherit "module";    - constant cvs_version= "$Id: tarfs.pike,v 1.6 2001/05/16 07:50:59 per Exp $"; + constant cvs_version= "$Id: tarfs.pike,v 1.7 2001/08/23 11:55:11 grubba Exp $";      // The Filesystem.Tar module is not threadsafe.   constant thread_safe=0;      //<locale-token project="mod_targs">_</locale-token>   #define _(X,Y) _DEF_LOCALE("mod_tarfs",X,Y)   // end of the locale related stuff   #include <module.h>      constant module_type = MODULE_LOCATION;
Roxen.git/server/modules/filesystems/tarfs.pike:79:    if(!tar) return 0;    return tar->get_dir( f );   }      mixed find_file( string f, RequestID id )   {    if(!tar) return 0;    object s = tar->stat( f );    if( !s ) return 0;    if( s->isdir() ) return -1; -  return id->conf->StringFile( tar->open( f, "r" )->read(), +  return StringFile( tar->open( f, "r" )->read(),    stat_file( f, id ));   }