ranger.container.environment
index
/home/hut/ranger/ranger/container/environment.py

# Copyright (c) 2009, 2010 hut <hut@lavabit.com>
#
# Permission to use, copy, modify, and/or distribute this software for any
# purpose with or without fee is hereby granted, provided that the above
# copyright notice and this permission notice appear in all copies.
#
# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES
# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF
# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN
# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.

 
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 = <ranger.ext.openstruct.OpenStruct object at 0xe2f090>