summary refs log tree commit diff stats
path: root/doc
diff options
context:
space:
mode:
authorhut <hut@lavabit.com>2011-02-18 21:06:33 +0000
committerhut <hut@lavabit.com>2011-02-18 21:06:33 +0000
commited3d9f274605b1034c6920e9298043ccf28f775d (patch)
tree8f602263c408a105ca62b2baa5b43f7b09208dfb /doc
parentf51fc9f68bba0e0b2be754919fe30404573dbb43 (diff)
downloadranger-ed3d9f274605b1034c6920e9298043ccf28f775d.tar.gz
fsobject.directory: added dirname argument to accept_file
this is to enable customized file hiding functions. eg:

import ranger.fsobject.directory
def accept_file(fname, dirname, hidden_filter, name_filter):
    if <file should be hidden>:
      return False
    return True
ranger.fsobject.directory.accept_file = accept_file

this in options.py or something
Diffstat (limited to 'doc')
0 files changed, 0 insertions, 0 deletions