Logo Search packages:      
Sourcecode: ranger version File versions  Download package

Public Member Functions | Public Attributes | Static Public Attributes | Private Member Functions

ranger::container::bookmarks::Bookmarks Class Reference

List of all members.

Public Member Functions

def __contains__
def __getitem__
def __init__
def __iter__
def __setitem__
def delete
def enter
def load
def remember
def save
def update
def update_if_outdated

Public Attributes

 bookmarktype
 dct
 original_dict
 path

Static Public Attributes

 autosave = True
 last_mtime = None
tuple load_pattern = re.compile(r"^[\d\w']:.")

Private Member Functions

def _get_mtime
def _load_dict
def _set_dict
def _update_mtime

Detailed Description

Bookmarks is a container which associates keys with bookmarks.

      A key is a string with: len(key) == 1 and key in ALLOWED_KEYS.

      A bookmark is an object with: bookmark == bookmarktype(str(instance))
      Which is true for str or FileSystemObject. This condition is required
      so bookmark-objects can be saved to and loaded from a file.

      Optionally, a bookmark.go() method is used for entering a bookmark.
      

Definition at line 21 of file bookmarks.py.


The documentation for this class was generated from the following file:

Generated by  Doxygen 1.6.0   Back to index