Table of Contents

Class: abstract_filesystem Zope-2.2.1-src/ZServer/medusa/filesys.py

Methods   
__init__
cdup
current_directory
cwd
isdir
isfile
listdir
longify
open
stat
  __init__ 
__init__ ( self )

  cdup 
cdup ( self )

Change to the parent of the current directory.

  current_directory 
current_directory ( self )

Return a string representing the current directory.

  cwd 
cwd ( self,  path )

Change the working directory.

cwd, cdup, open, listdir

  isdir 
isdir ( self,  path )

Does the path represent a directory?

  isfile 
isfile ( self,  path )

Does the path represent a plain file?

  listdir 
listdir (
        self,
        path,
        long=0,
        )

Return a listing of the directory at path The empty string indicates the current directory. If long is set, instead return a list of (name, stat_info) tuples

  longify 
longify ( self,  path )

Return a long representation of the filename [for the output of the LIST command]

  open 
open (
        self,
        path,
        mode,
        )

Return an open file object

  stat 
stat ( self,  path )

Return the equivalent of os.stat() on the given path.

TODO: implement a cache w/timeout for stat()


Table of Contents

This document was automatically generated on Mon Sep 4 07:33:06 2000 by HappyDoc version r0_6