From 3817c8b47e85d3644383182c2b3909a2dbdd0b3b Mon Sep 17 00:00:00 2001 From: hut Date: Mon, 21 Jun 2010 00:23:04 +0200 Subject: removed pydoc since it can be generated with "make doc" easily --- doc/pydoc/ranger.fsobject.fsobject.html | 218 -------------------------------- 1 file changed, 218 deletions(-) delete mode 100644 doc/pydoc/ranger.fsobject.fsobject.html (limited to 'doc/pydoc/ranger.fsobject.fsobject.html') diff --git a/doc/pydoc/ranger.fsobject.fsobject.html b/doc/pydoc/ranger.fsobject.fsobject.html deleted file mode 100644 index ce0b983f..00000000 --- a/doc/pydoc/ranger.fsobject.fsobject.html +++ /dev/null @@ -1,218 +0,0 @@ - -Python: module ranger.fsobject.fsobject - - - - - -
 
- 
ranger.fsobject.fsobject
index
/home/hut/code/ranger/ranger/fsobject/fsobject.py
-

# Copyright (C) 2009, 2010  Roman Zimbelmann <romanz@lavabit.com>
-#
-# This program is free software: you can redistribute it and/or modify
-# it under the terms of the GNU General Public License as published by
-# the Free Software Foundation, either version 3 of the License, or
-# (at your option) any later version.
-#
-# This program is distributed in the hope that it will be useful,
-# but WITHOUT ANY WARRANTY; without even the implied warranty of
-# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
-# GNU General Public License for more details.
-#
-# You should have received a copy of the GNU General Public License
-# along with this program.  If not, see <http://www.gnu.org/licenses/>.

-

- - - - - -
 
-Classes
       
-
ranger.shared.FileManagerAware(ranger.shared.Awareness) -
-
-
FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware) -
-
-
ranger.shared.mimetype.MimeTypeAware(builtins.object) -
-
-
FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware) -
-
-
-

- - - - - -
 
-class FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware)
    
Method resolution order:
-
FileSystemObject
-
ranger.shared.mimetype.MimeTypeAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
builtins.object
-
-
-Methods defined here:
-
__init__(self, path, preload=None, path_is_abs=False)
- -
__repr__(self)
- -
__str__(self)
returns a string containing the absolute path
- -
get_permission_string(self)
- -
load(self)
reads useful information about the filesystem-object from the
-filesystem and caches it for later use
- -
load_if_outdated(self)
Calls load() if the currently cached information is outdated
-or nonexistant.
- -
mark(self, boolean)
- -
set_mimetype(self)
assign attributes such as self.video according to the mimetype
- -
use(self)
Used in garbage-collecting.  Override in Directory
- -
-Data descriptors defined here:
-
mimetype
-
-
mimetype_tuple
-
-
-Data and other attributes defined here:
-
accessible = False
- -
audio = False
- -
basename = None
- -
basename_lower = None
- -
container = False
- -
content_loaded = False
- -
dirname = None
- -
document = False
- -
exists = False
- -
extension = None
- -
filetype = None
- -
force_load = False
- -
image = False
- -
infostring = None
- -
is_device = False
- -
is_directory = False
- -
is_fifo = False
- -
is_file = False
- -
is_link = False
- -
is_socket = False
- -
loaded = False
- -
marked = False
- -
media = False
- -
path = None
- -
permissions = None
- -
realpath = None
- -
runnable = False
- -
shell_escaped_basename = None
- -
size = 0
- -
stat = None
- -
stopped = False
- -
tagged = False
- -
video = False
- -
-Data descriptors inherited from ranger.shared.mimetype.MimeTypeAware:
-
__dict__
-
dictionary for instance variables (if defined)
-
-
__weakref__
-
list of weak references to the object (if defined)
-
-
-Data and other attributes inherited from ranger.shared.mimetype.MimeTypeAware:
-
mimetypes = {}
- -
-Data and other attributes inherited from ranger.shared.FileManagerAware:
-
fm = None
- -

- - - - - -
 
-Functions
       
access(...)
access(path, mode) -> True if granted, False otherwise

-Use the real uid/gid to test for access to a path.  Note that most
-operations will use the effective uid/gid, therefore this routine can
-be used in a suid/sgid environment to test if the invoking user has the
-specified access to the path.  The mode argument can be F_OK to test
-existence, or the inclusive-OR of R_OK, W_OK, and X_OK.
-
listdir(...)
listdir(path) -> list_of_strings

-Return a list containing the names of the entries in the directory.

-        path: path of directory to list

-The list is in arbitrary order.  It does not include the special
-entries '.' and '..' even if they are present in the directory.
-
lstat(...)
lstat(path) -> stat result

-Like stat(path), but do not follow symbolic links.
-
readlink(...)
readlink(path) -> path

-Return a string representing the path to which the symbolic link points.
-
stat(...)
stat(path) -> stat result

-Perform a stat system call on the given path.
-
time(...)
time() -> floating point number

-Return the current time in seconds since the Epoch.
-Fractions of a second may be present if the system clock provides them.
-

- - - - - -
 
-Data
       BAD_INFO = '?'
-CONTAINER_EXTENSIONS = ('7z', 'ace', 'ar', 'arc', 'bz', 'bz2', 'cab', 'cpio', 'cpt', 'dgc', 'dmg', 'gz', 'iso', 'jar', 'msi', 'pkg', 'rar', 'shar', 'tar', 'tbz', ...)
-extsep = '.'
- \ No newline at end of file -- cgit 1.4.1-2-gfad0