From ef0157ff37404cf757f57711c62bb352a2971fa6 Mon Sep 17 00:00:00 2001 From: hut Date: Sun, 16 May 2010 16:28:42 +0200 Subject: updated pydoc --- doc/pydoc/ranger.fsobject.fsobject.html | 68 +++++++++++++++++---------------- 1 file changed, 35 insertions(+), 33 deletions(-) (limited to 'doc/pydoc/ranger.fsobject.fsobject.html') diff --git a/doc/pydoc/ranger.fsobject.fsobject.html b/doc/pydoc/ranger.fsobject.fsobject.html index 1a9517bc..869ecfbe 100644 --- a/doc/pydoc/ranger.fsobject.fsobject.html +++ b/doc/pydoc/ranger.fsobject.fsobject.html @@ -1,6 +1,6 @@ - Python: module ranger.fsobject.fsobject + @@ -8,7 +8,7 @@
 
 
ranger.fsobject.fsobject
index
/home/hut/ranger/ranger/fsobject/fsobject.py
+>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
@@ -25,15 +25,6 @@ # along with this program.  If not, see <http://www.gnu.org/licenses/>.

- - - - -
 
-Modules
       
os
-
stat
-

- @@ -46,7 +37,7 @@
FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware)
-
ranger.shared.mimetype.MimeTypeAware(__builtin__.object) +
ranger.shared.mimetype.MimeTypeAware(builtins.object)
FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware) @@ -65,18 +56,16 @@
ranger.shared.mimetype.MimeTypeAware
ranger.shared.FileManagerAware
ranger.shared.Awareness
-
__builtin__.object
+
builtins.object

Methods defined here:
-
__init__(self, path)
+
__init__(self, path, preload=None, path_is_abs=False)
__repr__(self)
__str__(self)
returns a string containing the absolute path
-
determine_infostring(self)
-
get_description(self)
get_permission_string(self)
@@ -91,8 +80,6 @@ filesystem and caches it for later use
load_if_outdated(self)
Calls load() if the currently cached information is outdated
or nonexistant.
-
load_once(self)
calls load() if it has not been called at least once yet
-
mark(self, boolean)
set_mimetype(self)
assign attributes such as self.video according to the mimetype
@@ -103,6 +90,10 @@ or nonexistant. Data descriptors defined here:
filetype
+
mimetype
+
+
mimetype_tuple
+
shell_escaped_basename

@@ -153,14 +144,10 @@ Data and other attributes defined here:
media = False
-
mimetype_tuple = ()
-
path = None
permissions = None
-
readlink = None
-
runnable = False
size = 0
@@ -171,8 +158,6 @@ Data and other attributes defined here:
tagged = False
-
type = 'unknown'
-
video = False

@@ -198,7 +183,31 @@ Data and other attributes inherited from Functions
-
 
Classes
       
time(...)
time() -> floating point number
+
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.
@@ -210,12 +219,5 @@ Fractions of a second may be present if 
        BAD_INFO = '?'
-CONTAINER_EXTENSIONS = ['rar', 'zip', 'tar', 'gz', 'bz', 'bz2', 'tgz', '7z', 'iso', 'cab']
-DOCUMENT_BASENAMES = ()
-DOCUMENT_EXTENSIONS = ()
-PIPE = -1
-T_DIRECTORY = 'directory'
-T_FILE = 'file'
-T_NONEXISTANT = 'nonexistant'
-T_UNKNOWN = 'unknown'
+CONTAINER_EXTENSIONS = ('7z', 'ace', 'ar', 'arc', 'bz', 'bz2', 'cab', 'cpio', 'cpt', 'dgc', 'dmg', 'gz', 'iso', 'jar', 'msi', 'pkg', 'rar', 'shar', 'tar', 'tbz', ...) \ No newline at end of file -- cgit 1.4.1-2-gfad0