summary refs log tree commit diff stats
path: root/test
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 /test
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 'test')
0 files changed, 0 insertions, 0 deletions
=ceea528eff5ccd1bbd11696209fdc60a5383cc41'>^
fbd3109 ^




d2dd58e ^
b515765 ^
f196b71 ^
3794c62 ^

f196b71 ^








3794c62 ^
f196b71 ^
3794c62 ^
f196b71 ^
3794c62 ^



352cae4 ^
f196b71 ^
352cae4 ^
3794c62 ^
f196b71 ^

b515765 ^
b515765 ^
19dcbc5 ^
352cae4 ^
3171371 ^









352cae4 ^









3171371 ^








42fd392 ^
19dcbc5 ^




1617b95 ^



352cae4 ^








3171371 ^
b515765 ^
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95