ranger.container.environment
index
/home/hut/ranger/ranger/container/environment.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
       
curses
os

 
Classes
       
ranger.shared.settings.SettingsAware(__builtin__.object)
Environment

 
class Environment(ranger.shared.settings.SettingsAware)
    A collection of data which is relevant for more than
one class.
 
 
Method resolution order:
Environment
ranger.shared.settings.SettingsAware
__builtin__.object

Methods defined here:
__init__(self, path)
assign_correct_cursor_positions(self)
Assign correct cursor positions for subdirectories
at_level(self, level)
Returns the FileSystemObject at the given level.
level 1 => preview
level 0 => current file/directory
level <0 => parent directories
enter_dir(self, path, history=True)
Enter given path
garbage_collect(self)
Delete unused directory objects
get_directory(self, path)
Get the directory object at the given path
get_free_space(self, path)
get_selection(self)
history_go(self, relative)
Move relative in history
key_append(self, key)
Append a key to the keybuffer
key_clear(self)
Clear the keybuffer

Data and other attributes defined here:
cf = None
cmd = None
copy = None
cut = None
directories = None
history = None
keybuffer = None
last_search = None
path = None
pathway = None
pwd = None
termsize = None

Data descriptors inherited from ranger.shared.settings.SettingsAware:
__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.settings.SettingsAware:
settings = {}