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.directory.html | 336 ------------------------------- 1 file changed, 336 deletions(-) delete mode 100644 doc/pydoc/ranger.fsobject.directory.html (limited to 'doc/pydoc/ranger.fsobject.directory.html') diff --git a/doc/pydoc/ranger.fsobject.directory.html b/doc/pydoc/ranger.fsobject.directory.html deleted file mode 100644 index 56306bb0..00000000 --- a/doc/pydoc/ranger.fsobject.directory.html +++ /dev/null @@ -1,336 +0,0 @@ - -Python: module ranger.fsobject.directory - - - - - -
 
- 
ranger.fsobject.directory
index
/home/hut/code/ranger/ranger/fsobject/directory.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/>.

-

- - - - - -
 
-Modules
       
os
-
ranger
-
stat
-

- - - - - -
 
-Classes
       
-
ranger.ext.accumulator.Accumulator(builtins.object) -
-
-
Directory(ranger.fsobject.fsobject.FileSystemObject, ranger.ext.accumulator.Accumulator, ranger.shared.settings.SettingsAware) -
-
-
ranger.fsobject.fsobject.FileSystemObject(ranger.shared.mimetype.MimeTypeAware, ranger.shared.FileManagerAware) -
-
-
Directory(ranger.fsobject.fsobject.FileSystemObject, ranger.ext.accumulator.Accumulator, ranger.shared.settings.SettingsAware) -
-
-
ranger.shared.settings.SettingsAware(builtins.object) -
-
-
Directory(ranger.fsobject.fsobject.FileSystemObject, ranger.ext.accumulator.Accumulator, ranger.shared.settings.SettingsAware) -
-
-
-

- - - - - -
 
-class Directory(ranger.fsobject.fsobject.FileSystemObject, ranger.ext.accumulator.Accumulator, ranger.shared.settings.SettingsAware)
    
Method resolution order:
-
Directory
-
ranger.fsobject.fsobject.FileSystemObject
-
ranger.shared.mimetype.MimeTypeAware
-
ranger.shared.FileManagerAware
-
ranger.shared.Awareness
-
ranger.ext.accumulator.Accumulator
-
ranger.shared.settings.SettingsAware
-
builtins.object
-
-
-Methods defined here:
-
__bool__ = __nonzero__(self)
- -
__eq__(self, other)
Check for equality of the directories paths
- -
__hash__(self)
- -
__init__(self, path, **kw)
- -
__len__(self)
The number of containing files
- -
__neq__(self, other)
Check for inequality of the directories paths
- -
__nonzero__(self)
Always True
- -
correct_pointer(self)
Make sure the pointer is in the valid range
- -
cycle(self, forward=True)
- -
empty(self)
Is the directory empty?
- -
get_description(self)
- -
get_list(self)
- -
get_selection(self)
READ ONLY
- -
go(self)
enter the directory if the filemanager is running
- -
is_older_than(self, seconds)
returns whether this object wasn't use()d in the last n seconds
- -
load_bit_by_bit(self)
Returns a generator which load a part of the directory
-in each iteration.
- -
load_content(self, schedule=None)
Loads the contents of the directory. Use this sparingly since
-it takes rather long.
- -
load_content_if_outdated(self, *a, **k)
Load the contents of the directory if it's
-outdated or not done yet
- -
load_content_once(self, *a, **k)
Load the contents of the directory if not done yet
- -
mark_all(self, val)
- -
mark_item(self, item, val)
- -
move_to_obj(self, arg)
- -
request_reload(self)
- -
request_resort(self)
- -
search_fnc(self, fnc, forward=True)
- -
set_cycle_list(self, lst)
- -
sort(self)
Sort the containing files
- -
sort_if_outdated(self)
Sort the containing files if they are outdated
- -
toggle_all_marks(self)
- -
toggle_mark(self, item)
- -
unload(self)
- -
use(self)
mark the filesystem-object as used at the current time
- -
-Data and other attributes defined here:
-
content_loaded = False
- -
content_outdated = False
- -
cycle_list = None
- -
disk_usage = 0
- -
enterable = False
- -
filenames = None
- -
files = None
- -
filter = None
- -
is_directory = True
- -
last_update_time = -1
- -
load_content_mtime = -1
- -
load_generator = None
- -
loading = False
- -
marked_items = None
- -
mount_path = '/'
- -
order_outdated = False
- -
scroll_begin = 0
- -
scroll_offset = 0
- -
sort_dict = {'basename': <function sort_by_basename>, 'mtime': <function <lambda>>, 'size': <function <lambda>>, 'type': <function <lambda>>}
- -
-Methods inherited from ranger.fsobject.fsobject.FileSystemObject:
-
__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
- -
-Data descriptors inherited from ranger.fsobject.fsobject.FileSystemObject:
-
mimetype
-
-
mimetype_tuple
-
-
-Data and other attributes inherited from ranger.fsobject.fsobject.FileSystemObject:
-
accessible = False
- -
audio = False
- -
basename = None
- -
basename_lower = None
- -
container = False
- -
dirname = None
- -
document = False
- -
exists = False
- -
extension = None
- -
filetype = None
- -
force_load = False
- -
image = False
- -
infostring = None
- -
is_device = 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
- -
-Methods inherited from ranger.ext.accumulator.Accumulator:
-
get_height(self)
OVERRIDE THIS
- -
move(self, narg=None, **keywords)
- -
pointer_is_synced(self)
- -
sync_index(self, **kw)
- -
-Data and other attributes inherited from ranger.shared.settings.SettingsAware:
-
settings = {}
- -

- - - - - -
 
-Functions
       
accept_file(fname, hidden_filter, name_filter)
-
os_lstat = lstat(...)
lstat(path) -> stat result

-Like stat(path), but do not follow symbolic links.
-
os_stat = stat(...)
stat(path) -> stat result

-Perform a stat system call on the given path.
-
sort_by_basename(path)
returns path.basename (for sorting)
-
sort_by_basename_icase(path)
returns case-insensitive path.basename (for sorting)
-
sort_by_directory(path)
returns 0 if path is a directory, otherwise 1 (for sorting)
-
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 = '?'
- \ No newline at end of file -- cgit 1.4.1-2-gfad0