| |
- builtins.Exception(builtins.BaseException)
-
- NoDirectoryGiven
- 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:
- __eq__(self, other)
- Check for equality of the directories paths
- __hash__(self)
- __init__(self, path)
- __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_list(self)
- get_selection(self)
- READ ONLY
- 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)
- 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)
Data and other attributes defined here:
- cycle_list = None
- enterable = False
- filenames = None
- files = None
- filter = None
- last_update_time = -1
- load_content_mtime = -1
- load_generator = None
- loading = False
- marked_items = None
- old_directories_first = None
- old_filter = None
- old_reverse = None
- old_show_hidden = None
- old_sort = None
- scroll_begin = 0
- scroll_offset = 0
- sort_dict = {'basename': <function sort_by_basename at 0x7f6a90692160>, 'mtime': <function <lambda> at 0x7f6a906927c0>, 'size': <function <lambda> at 0x7f6a90692738>, 'type': <function <lambda> at 0x7f6a90692848>}
Methods inherited from ranger.fsobject.fsobject.FileSystemObjectss="w"> p_time, int p_rest, int p_count, int break_status)
{
if (!break_status)
{
if (p_time > 0 && p_count < 4)
{
printf("pomo: %d\n", p_time);
sleep(1);
p_time--;
}
break_status = 1;
}
return 0;
}
int main (int argc, const char * argv[])
{
pomo(pomo_time, pomo_rest, pomo_count, is_break);
// if (!is_break) {
// while (pomo_time > 0 && pomo_count < 4) {
// printf("pomo: %d\n ", pomo_time);
// sleep(1);
// pomo_time--;
// }
// is_break = 1;
// printf("END POMO!\n");
// };
// if (is_break) {
// while (pomo_rest > 0 && pomo_count < 4) {
// printf("rest: %d\n ", pomo_rest);
// sleep(1);
// pomo_rest--;
// }
// is_break = 0;
// printf("END REST!\n");
// };
return 0;
}
ulator.Accumulator:
- get_height(self)
- OVERRIDE THIS
- move(self, relative=0, absolute=None, pages=None, narg=None)
- pointer_is_synced(self)
- sync_index(self, **kw)
Data and other attributes inherited from ranger.shared.settings.SettingsAware:
- settings = <ranger.ext.openstruct.OpenStruct object at 0x7f6a9067fbd0>
|
|