rumai 2.1.0 → 3.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/CREDITS +1 -0
- data/doc/api/classes/Integer.html +5 -5
- data/doc/api/classes/Rumai.html +178 -215
- data/doc/api/classes/Rumai/Area.html +194 -126
- data/doc/api/classes/Rumai/Chain.html +21 -21
- data/doc/api/classes/Rumai/Client.html +506 -142
- data/doc/api/classes/Rumai/ClientContainer.html +22 -22
- data/doc/api/classes/Rumai/IXP/Agent.html +55 -55
- data/doc/api/classes/Rumai/IXP/Agent/FidStream.html +30 -30
- data/doc/api/classes/Rumai/IXP/Agent/MODES.html +5 -5
- data/doc/api/classes/Rumai/IXP/Fcall.html +25 -25
- data/doc/api/classes/Rumai/IXP/Stat.html +5 -5
- data/doc/api/classes/Rumai/IXP/Stream.html +5 -5
- data/doc/api/classes/Rumai/IXP/Struct.html +20 -20
- data/doc/api/classes/Rumai/IXP/Struct/Field.html +30 -30
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounteeField.html +10 -10
- data/doc/api/classes/Rumai/IXP/Struct/Field/CounterField.html +5 -5
- data/doc/api/classes/Rumai/IXP/Terror.html +5 -5
- data/doc/api/classes/Rumai/Node.html +45 -45
- data/doc/api/classes/Rumai/View.html +226 -125
- data/doc/api/classes/Rumai/WidgetImpl.html +1 -1
- data/doc/api/classes/String.html +10 -10
- data/doc/api/classes/Time.html +10 -10
- data/doc/api/created.rid +1 -1
- data/doc/api/files/CREDITS.html +4 -1
- data/doc/api/files/lib/rumai/fs_rb.html +1 -1
- data/doc/api/files/lib/rumai/wm_rb.html +1 -1
- data/doc/api/files/lib/rumai_rb.html +1 -1
- data/doc/api/panel/search_index.js +1 -1
- data/doc/history.erb +63 -0
- data/doc/index.erb +2 -2
- data/doc/index.xhtml +215 -67
- data/doc/intro.erb +4 -1
- data/doc/usage.erb +1 -1
- data/lib/rumai.rb +2 -2
- data/lib/rumai/wm.rb +200 -130
- metadata +2 -2
@@ -31,7 +31,7 @@
|
|
31
31
|
<div class="description">
|
32
32
|
<p>
|
33
33
|
NOTE: Inheritors should override the ‘<a
|
34
|
-
href="ClientContainer.html#
|
34
|
+
href="ClientContainer.html#M000056">client_ids</a>’ method.
|
35
35
|
</p>
|
36
36
|
|
37
37
|
</div>
|
@@ -51,9 +51,9 @@ href="ClientContainer.html#M000053">client_ids</a>’ method.
|
|
51
51
|
<dd>
|
52
52
|
<ul>
|
53
53
|
|
54
|
-
<li><a href="#
|
54
|
+
<li><a href="#M000056">client_ids</a>,</li>
|
55
55
|
|
56
|
-
<li><a href="#
|
56
|
+
<li><a href="#M000057">clients</a></li>
|
57
57
|
|
58
58
|
</ul>
|
59
59
|
</dd>
|
@@ -62,7 +62,7 @@ href="ClientContainer.html#M000053">client_ids</a>’ method.
|
|
62
62
|
<dd>
|
63
63
|
<ul>
|
64
64
|
|
65
|
-
<li><a href="#
|
65
|
+
<li><a href="#M000059">grouping</a></li>
|
66
66
|
|
67
67
|
</ul>
|
68
68
|
</dd>
|
@@ -84,9 +84,9 @@ href="ClientContainer.html#M000053">client_ids</a>’ method.
|
|
84
84
|
<div class="sectiontitle">Instance Public methods</div>
|
85
85
|
|
86
86
|
<div class="method">
|
87
|
-
<div class="title" id="
|
87
|
+
<div class="title" id="M000056">
|
88
88
|
|
89
|
-
<a name="
|
89
|
+
<a name="M000056"></a><b>client_ids</b>()
|
90
90
|
|
91
91
|
</div>
|
92
92
|
|
@@ -102,13 +102,13 @@ Returns the IDs of the clients in this container.
|
|
102
102
|
|
103
103
|
<div class="sourcecode">
|
104
104
|
<p class="source-link">
|
105
|
-
Source: <a href="javascript:toggleSource('
|
105
|
+
Source: <a href="javascript:toggleSource('M000056_source')" id="l_M000056_source">show</a>
|
106
106
|
|
107
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
107
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L374" target="_blank" class="github_url">on GitHub</a>
|
108
108
|
|
109
109
|
</p>
|
110
|
-
<div id="
|
111
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
110
|
+
<div id="M000056_source" class="dyn-source">
|
111
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 374</span>
|
112
112
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">client_ids</span>
|
113
113
|
[]
|
114
114
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -118,9 +118,9 @@ Returns the IDs of the clients in this container.
|
|
118
118
|
</div>
|
119
119
|
|
120
120
|
<div class="method">
|
121
|
-
<div class="title" id="
|
121
|
+
<div class="title" id="M000057">
|
122
122
|
|
123
|
-
<a name="
|
123
|
+
<a name="M000057"></a><b>clients</b>()
|
124
124
|
|
125
125
|
</div>
|
126
126
|
|
@@ -136,13 +136,13 @@ Returns the clients contained in this container.
|
|
136
136
|
|
137
137
|
<div class="sourcecode">
|
138
138
|
<p class="source-link">
|
139
|
-
Source: <a href="javascript:toggleSource('
|
139
|
+
Source: <a href="javascript:toggleSource('M000057_source')" id="l_M000057_source">show</a>
|
140
140
|
|
141
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
141
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L381" target="_blank" class="github_url">on GitHub</a>
|
142
142
|
|
143
143
|
</p>
|
144
|
-
<div id="
|
145
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
144
|
+
<div id="M000057_source" class="dyn-source">
|
145
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 381</span>
|
146
146
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clients</span>
|
147
147
|
<span class="ruby-identifier">client_ids</span>.<span class="ruby-identifier">map!</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">i</span><span class="ruby-operator">|</span> <span class="ruby-constant">Client</span>.<span class="ruby-identifier">new</span> <span class="ruby-identifier">i</span> }
|
148
148
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -152,9 +152,9 @@ Returns the clients contained in this container.
|
|
152
152
|
</div>
|
153
153
|
|
154
154
|
<div class="method">
|
155
|
-
<div class="title" id="
|
155
|
+
<div class="title" id="M000059">
|
156
156
|
|
157
|
-
<a name="
|
157
|
+
<a name="M000059"></a><b>grouping</b>()
|
158
158
|
|
159
159
|
</div>
|
160
160
|
|
@@ -170,13 +170,13 @@ Returns all grouped clients in this container.
|
|
170
170
|
|
171
171
|
<div class="sourcecode">
|
172
172
|
<p class="source-link">
|
173
|
-
Source: <a href="javascript:toggleSource('
|
173
|
+
Source: <a href="javascript:toggleSource('M000059_source')" id="l_M000059_source">show</a>
|
174
174
|
|
175
|
-
| <a href="http://github.com/sunaku/rumai/blob/
|
175
|
+
| <a href="http://github.com/sunaku/rumai/blob/7df1e5ba1e98a3810c3730a1a28ab64c33ccc355/lib/rumai/wm.rb#L397" target="_blank" class="github_url">on GitHub</a>
|
176
176
|
|
177
177
|
</p>
|
178
|
-
<div id="
|
179
|
-
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line
|
178
|
+
<div id="M000059_source" class="dyn-source">
|
179
|
+
<pre><span class="ruby-comment cmt"># File lib/rumai/wm.rb, line 397</span>
|
180
180
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">grouping</span>
|
181
181
|
<span class="ruby-identifier">clients</span>.<span class="ruby-identifier">select</span> {<span class="ruby-operator">|</span><span class="ruby-identifier">c</span><span class="ruby-operator">|</span> <span class="ruby-identifier">c</span>.<span class="ruby-identifier">group?</span> }
|
182
182
|
<span class="ruby-keyword kw">end</span></pre>
|
@@ -57,7 +57,7 @@ connection.
|
|
57
57
|
<dd>
|
58
58
|
<ul>
|
59
59
|
|
60
|
-
<li><a href="#
|
60
|
+
<li><a href="#M000111">attach</a></li>
|
61
61
|
|
62
62
|
</ul>
|
63
63
|
</dd>
|
@@ -66,7 +66,7 @@ connection.
|
|
66
66
|
<dd>
|
67
67
|
<ul>
|
68
68
|
|
69
|
-
<li><a href="#
|
69
|
+
<li><a href="#M000115">clunk</a>,</li>
|
70
70
|
|
71
71
|
<li><a href="#M000091">create</a></li>
|
72
72
|
|
@@ -77,7 +77,7 @@ connection.
|
|
77
77
|
<dd>
|
78
78
|
<ul>
|
79
79
|
|
80
|
-
<li><a href="#
|
80
|
+
<li><a href="#M000088">entries</a></li>
|
81
81
|
|
82
82
|
</ul>
|
83
83
|
</dd>
|
@@ -86,7 +86,7 @@ connection.
|
|
86
86
|
<dd>
|
87
87
|
<ul>
|
88
88
|
|
89
|
-
<li><a href="#
|
89
|
+
<li><a href="#M000035">new</a></li>
|
90
90
|
|
91
91
|
</ul>
|
92
92
|
</dd>
|
@@ -95,7 +95,7 @@ connection.
|
|
95
95
|
<dd>
|
96
96
|
<ul>
|
97
97
|
|
98
|
-
<li><a href="#
|
98
|
+
<li><a href="#M000061">open</a></li>
|
99
99
|
|
100
100
|
</ul>
|
101
101
|
</dd>
|
@@ -104,7 +104,7 @@ connection.
|
|
104
104
|
<dd>
|
105
105
|
<ul>
|
106
106
|
|
107
|
-
<li><a href="#
|
107
|
+
<li><a href="#M000087">read</a>,</li>
|
108
108
|
|
109
109
|
<li><a href="#M000097">remove</a>,</li>
|
110
110
|
|
@@ -117,9 +117,9 @@ connection.
|
|
117
117
|
<dd>
|
118
118
|
<ul>
|
119
119
|
|
120
|
-
<li><a href="#
|
120
|
+
<li><a href="#M000101">stat</a>,</li>
|
121
121
|
|
122
|
-
<li><a href="#
|
122
|
+
<li><a href="#M000105">stat_fid</a></li>
|
123
123
|
|
124
124
|
</ul>
|
125
125
|
</dd>
|
@@ -128,7 +128,7 @@ connection.
|
|
128
128
|
<dd>
|
129
129
|
<ul>
|
130
130
|
|
131
|
-
<li><a href="#
|
131
|
+
<li><a href="#M000053">talk</a></li>
|
132
132
|
|
133
133
|
</ul>
|
134
134
|
</dd>
|
@@ -137,11 +137,11 @@ connection.
|
|
137
137
|
<dd>
|
138
138
|
<ul>
|
139
139
|
|
140
|
-
<li><a href="#
|
140
|
+
<li><a href="#M000106">walk</a>,</li>
|
141
141
|
|
142
142
|
<li><a href="#M000107">walk_fid</a>,</li>
|
143
143
|
|
144
|
-
<li><a href="#
|
144
|
+
<li><a href="#M000090">write</a></li>
|
145
145
|
|
146
146
|
</ul>
|
147
147
|
</dd>
|
@@ -199,9 +199,9 @@ connection.
|
|
199
199
|
<div class="sectiontitle">Class Public methods</div>
|
200
200
|
|
201
201
|
<div class="method">
|
202
|
-
<div class="title" id="
|
202
|
+
<div class="title" id="M000035">
|
203
203
|
|
204
|
-
<a name="
|
204
|
+
<a name="M000035"></a><b>new</b>(stream)
|
205
205
|
|
206
206
|
</div>
|
207
207
|
|
@@ -210,12 +210,12 @@ connection.
|
|
210
210
|
|
211
211
|
<div class="sourcecode">
|
212
212
|
<p class="source-link">
|
213
|
-
Source: <a href="javascript:toggleSource('
|
213
|
+
Source: <a href="javascript:toggleSource('M000035_source')" id="l_M000035_source">show</a>
|
214
214
|
|
215
215
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/ixp/transport.rb#L19" target="_blank" class="github_url">on GitHub</a>
|
216
216
|
|
217
217
|
</p>
|
218
|
-
<div id="
|
218
|
+
<div id="M000035_source" class="dyn-source">
|
219
219
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 19</span>
|
220
220
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">initialize</span> <span class="ruby-identifier">stream</span>
|
221
221
|
<span class="ruby-ivar">@stream</span> = <span class="ruby-identifier">stream</span>
|
@@ -263,9 +263,9 @@ connection.
|
|
263
263
|
<div class="sectiontitle">Instance Public methods</div>
|
264
264
|
|
265
265
|
<div class="method">
|
266
|
-
<div class="title" id="
|
266
|
+
<div class="title" id="M000111">
|
267
267
|
|
268
|
-
<a name="
|
268
|
+
<a name="M000111"></a><b>attach</b>(root_fid, auth_fid = Fcall::NOFID, auth_name = ENV['USER'])
|
269
269
|
|
270
270
|
</div>
|
271
271
|
|
@@ -281,12 +281,12 @@ Associates the given FID with the FS root.
|
|
281
281
|
|
282
282
|
<div class="sourcecode">
|
283
283
|
<p class="source-link">
|
284
|
-
Source: <a href="javascript:toggleSource('
|
284
|
+
Source: <a href="javascript:toggleSource('M000111_source')" id="l_M000111_source">show</a>
|
285
285
|
|
286
286
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/ixp/transport.rb#L413" target="_blank" class="github_url">on GitHub</a>
|
287
287
|
|
288
288
|
</p>
|
289
|
-
<div id="
|
289
|
+
<div id="M000111_source" class="dyn-source">
|
290
290
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 413</span>
|
291
291
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">attach</span> <span class="ruby-identifier">root_fid</span>, <span class="ruby-identifier">auth_fid</span> = <span class="ruby-constant">Fcall</span><span class="ruby-operator">::</span><span class="ruby-constant">NOFID</span>, <span class="ruby-identifier">auth_name</span> = <span class="ruby-constant">ENV</span>[<span class="ruby-value str">'USER'</span>]
|
292
292
|
<span class="ruby-identifier">talk</span> <span class="ruby-constant">Tattach</span>.<span class="ruby-identifier">new</span>(
|
@@ -302,9 +302,9 @@ Associates the given FID with the FS root.
|
|
302
302
|
</div>
|
303
303
|
|
304
304
|
<div class="method">
|
305
|
-
<div class="title" id="
|
305
|
+
<div class="title" id="M000115">
|
306
306
|
|
307
|
-
<a name="
|
307
|
+
<a name="M000115"></a><b>clunk</b>(fid)
|
308
308
|
|
309
309
|
</div>
|
310
310
|
|
@@ -320,12 +320,12 @@ Retires the given FID from use.
|
|
320
320
|
|
321
321
|
<div class="sourcecode">
|
322
322
|
<p class="source-link">
|
323
|
-
Source: <a href="javascript:toggleSource('
|
323
|
+
Source: <a href="javascript:toggleSource('M000115_source')" id="l_M000115_source">show</a>
|
324
324
|
|
325
325
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/ixp/transport.rb#L425" target="_blank" class="github_url">on GitHub</a>
|
326
326
|
|
327
327
|
</p>
|
328
|
-
<div id="
|
328
|
+
<div id="M000115_source" class="dyn-source">
|
329
329
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 425</span>
|
330
330
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">clunk</span> <span class="ruby-identifier">fid</span>
|
331
331
|
<span class="ruby-identifier">talk</span> <span class="ruby-constant">Tclunk</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:fid</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">fid</span>)
|
@@ -387,9 +387,9 @@ modes for a user having the given permission bits.
|
|
387
387
|
</div>
|
388
388
|
|
389
389
|
<div class="method">
|
390
|
-
<div class="title" id="
|
390
|
+
<div class="title" id="M000088">
|
391
391
|
|
392
|
-
<a name="
|
392
|
+
<a name="M000088"></a><b>entries</b>(path)
|
393
393
|
|
394
394
|
</div>
|
395
395
|
|
@@ -405,12 +405,12 @@ Returns the names of all files inside the directory whose path is given.
|
|
405
405
|
|
406
406
|
<div class="sourcecode">
|
407
407
|
<p class="source-link">
|
408
|
-
Source: <a href="javascript:toggleSource('
|
408
|
+
Source: <a href="javascript:toggleSource('M000088_source')" id="l_M000088_source">show</a>
|
409
409
|
|
410
410
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/ixp/transport.rb#L315" target="_blank" class="github_url">on GitHub</a>
|
411
411
|
|
412
412
|
</p>
|
413
|
-
<div id="
|
413
|
+
<div id="M000088_source" class="dyn-source">
|
414
414
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 315</span>
|
415
415
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">entries</span> <span class="ruby-identifier">path</span>
|
416
416
|
<span class="ruby-keyword kw">unless</span> <span class="ruby-identifier">stat</span>(<span class="ruby-identifier">path</span>).<span class="ruby-identifier">directory?</span>
|
@@ -425,9 +425,9 @@ Returns the names of all files inside the directory whose path is given.
|
|
425
425
|
</div>
|
426
426
|
|
427
427
|
<div class="method">
|
428
|
-
<div class="title" id="
|
428
|
+
<div class="title" id="M000061">
|
429
429
|
|
430
|
-
<a name="
|
430
|
+
<a name="M000061"></a><b>open</b>(path, mode = 'r')
|
431
431
|
|
432
432
|
</div>
|
433
433
|
|
@@ -449,12 +449,12 @@ See File::open in the Ruby documentation.
|
|
449
449
|
|
450
450
|
<div class="sourcecode">
|
451
451
|
<p class="source-link">
|
452
|
-
Source: <a href="javascript:toggleSource('
|
452
|
+
Source: <a href="javascript:toggleSource('M000061_source')" id="l_M000061_source">show</a>
|
453
453
|
|
454
454
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/ixp/transport.rb#L157" target="_blank" class="github_url">on GitHub</a>
|
455
455
|
|
456
456
|
</p>
|
457
|
-
<div id="
|
457
|
+
<div id="M000061_source" class="dyn-source">
|
458
458
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 157</span>
|
459
459
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">open</span> <span class="ruby-identifier">path</span>, <span class="ruby-identifier">mode</span> = <span class="ruby-value str">'r'</span> <span class="ruby-comment cmt"># :yields: FidStream</span>
|
460
460
|
<span class="ruby-identifier">mode</span> = <span class="ruby-constant">MODES</span>.<span class="ruby-identifier">parse</span>(<span class="ruby-identifier">mode</span>)
|
@@ -486,9 +486,9 @@ See File::open in the Ruby documentation.
|
|
486
486
|
</div>
|
487
487
|
|
488
488
|
<div class="method">
|
489
|
-
<div class="title" id="
|
489
|
+
<div class="title" id="M000087">
|
490
490
|
|
491
|
-
<a name="
|
491
|
+
<a name="M000087"></a><b>read</b>(path, *args)
|
492
492
|
|
493
493
|
</div>
|
494
494
|
|
@@ -504,12 +504,12 @@ Returns the content of the file/directory at the given path.
|
|
504
504
|
|
505
505
|
<div class="sourcecode">
|
506
506
|
<p class="source-link">
|
507
|
-
Source: <a href="javascript:toggleSource('
|
507
|
+
Source: <a href="javascript:toggleSource('M000087_source')" id="l_M000087_source">show</a>
|
508
508
|
|
509
509
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/ixp/transport.rb#L306" target="_blank" class="github_url">on GitHub</a>
|
510
510
|
|
511
511
|
</p>
|
512
|
-
<div id="
|
512
|
+
<div id="M000087_source" class="dyn-source">
|
513
513
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 306</span>
|
514
514
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">read</span> <span class="ruby-identifier">path</span>, <span class="ruby-operator">*</span><span class="ruby-identifier">args</span>
|
515
515
|
<span class="ruby-identifier">open</span> <span class="ruby-identifier">path</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
|
@@ -591,9 +591,9 @@ Deletes the file corresponding to the given FID and clunks the given FID.
|
|
591
591
|
</div>
|
592
592
|
|
593
593
|
<div class="method">
|
594
|
-
<div class="title" id="
|
594
|
+
<div class="title" id="M000101">
|
595
595
|
|
596
|
-
<a name="
|
596
|
+
<a name="M000101"></a><b>stat</b>(path)
|
597
597
|
|
598
598
|
</div>
|
599
599
|
|
@@ -609,12 +609,12 @@ Returns information about the file at the given path.
|
|
609
609
|
|
610
610
|
<div class="sourcecode">
|
611
611
|
<p class="source-link">
|
612
|
-
Source: <a href="javascript:toggleSource('
|
612
|
+
Source: <a href="javascript:toggleSource('M000101_source')" id="l_M000101_source">show</a>
|
613
613
|
|
614
614
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/ixp/transport.rb#L374" target="_blank" class="github_url">on GitHub</a>
|
615
615
|
|
616
616
|
</p>
|
617
|
-
<div id="
|
617
|
+
<div id="M000101_source" class="dyn-source">
|
618
618
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 374</span>
|
619
619
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stat</span> <span class="ruby-identifier">path</span>
|
620
620
|
<span class="ruby-identifier">with_fid</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">path_fid</span><span class="ruby-operator">|</span>
|
@@ -628,9 +628,9 @@ Returns information about the file at the given path.
|
|
628
628
|
</div>
|
629
629
|
|
630
630
|
<div class="method">
|
631
|
-
<div class="title" id="
|
631
|
+
<div class="title" id="M000105">
|
632
632
|
|
633
|
-
<a name="
|
633
|
+
<a name="M000105"></a><b>stat_fid</b>(path_fid)
|
634
634
|
|
635
635
|
</div>
|
636
636
|
|
@@ -646,12 +646,12 @@ Returns information about the file referenced by the given FID.
|
|
646
646
|
|
647
647
|
<div class="sourcecode">
|
648
648
|
<p class="source-link">
|
649
|
-
Source: <a href="javascript:toggleSource('
|
649
|
+
Source: <a href="javascript:toggleSource('M000105_source')" id="l_M000105_source">show</a>
|
650
650
|
|
651
651
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/ixp/transport.rb#L384" target="_blank" class="github_url">on GitHub</a>
|
652
652
|
|
653
653
|
</p>
|
654
|
-
<div id="
|
654
|
+
<div id="M000105_source" class="dyn-source">
|
655
655
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 384</span>
|
656
656
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">stat_fid</span> <span class="ruby-identifier">path_fid</span>
|
657
657
|
<span class="ruby-identifier">req</span> = <span class="ruby-constant">Tstat</span>.<span class="ruby-identifier">new</span>(<span class="ruby-identifier">:fid</span> =<span class="ruby-operator">></span> <span class="ruby-identifier">path_fid</span>)
|
@@ -664,9 +664,9 @@ Returns information about the file referenced by the given FID.
|
|
664
664
|
</div>
|
665
665
|
|
666
666
|
<div class="method">
|
667
|
-
<div class="title" id="
|
667
|
+
<div class="title" id="M000053">
|
668
668
|
|
669
|
-
<a name="
|
669
|
+
<a name="M000053"></a><b>talk</b>(request)
|
670
670
|
|
671
671
|
</div>
|
672
672
|
|
@@ -687,12 +687,12 @@ about the details of tag collisions and thread safety.
|
|
687
687
|
|
688
688
|
<div class="sourcecode">
|
689
689
|
<p class="source-link">
|
690
|
-
Source: <a href="javascript:toggleSource('
|
690
|
+
Source: <a href="javascript:toggleSource('M000053_source')" id="l_M000053_source">show</a>
|
691
691
|
|
692
692
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/ixp/transport.rb#L110" target="_blank" class="github_url">on GitHub</a>
|
693
693
|
|
694
694
|
</p>
|
695
|
-
<div id="
|
695
|
+
<div id="M000053_source" class="dyn-source">
|
696
696
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 110</span>
|
697
697
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">talk</span> <span class="ruby-identifier">request</span>
|
698
698
|
<span class="ruby-comment cmt"># send the request</span>
|
@@ -721,9 +721,9 @@ about the details of tag collisions and thread safety.
|
|
721
721
|
</div>
|
722
722
|
|
723
723
|
<div class="method">
|
724
|
-
<div class="title" id="
|
724
|
+
<div class="title" id="M000106">
|
725
725
|
|
726
|
-
<a name="
|
726
|
+
<a name="M000106"></a><b>walk</b>(path)
|
727
727
|
|
728
728
|
</div>
|
729
729
|
|
@@ -739,12 +739,12 @@ Returns an FID corresponding to the given path.
|
|
739
739
|
|
740
740
|
<div class="sourcecode">
|
741
741
|
<p class="source-link">
|
742
|
-
Source: <a href="javascript:toggleSource('
|
742
|
+
Source: <a href="javascript:toggleSource('M000106_source')" id="l_M000106_source">show</a>
|
743
743
|
|
744
744
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/ixp/transport.rb#L393" target="_blank" class="github_url">on GitHub</a>
|
745
745
|
|
746
746
|
</p>
|
747
|
-
<div id="
|
747
|
+
<div id="M000106_source" class="dyn-source">
|
748
748
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 393</span>
|
749
749
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">walk</span> <span class="ruby-identifier">path</span>
|
750
750
|
<span class="ruby-identifier">fid</span> = <span class="ruby-ivar">@fid_pool</span>.<span class="ruby-identifier">obtain</span>
|
@@ -795,9 +795,9 @@ Associates the given FID to the given path.
|
|
795
795
|
</div>
|
796
796
|
|
797
797
|
<div class="method">
|
798
|
-
<div class="title" id="
|
798
|
+
<div class="title" id="M000090">
|
799
799
|
|
800
|
-
<a name="
|
800
|
+
<a name="M000090"></a><b>write</b>(path, content)
|
801
801
|
|
802
802
|
</div>
|
803
803
|
|
@@ -813,12 +813,12 @@ Returns the content of the file/directory at the given path.
|
|
813
813
|
|
814
814
|
<div class="sourcecode">
|
815
815
|
<p class="source-link">
|
816
|
-
Source: <a href="javascript:toggleSource('
|
816
|
+
Source: <a href="javascript:toggleSource('M000090_source')" id="l_M000090_source">show</a>
|
817
817
|
|
818
818
|
| <a href="http://github.com/sunaku/rumai/blob/5fcf09b89976a53dd9346e335a1803b337e0c447/lib/rumai/ixp/transport.rb#L326" target="_blank" class="github_url">on GitHub</a>
|
819
819
|
|
820
820
|
</p>
|
821
|
-
<div id="
|
821
|
+
<div id="M000090_source" class="dyn-source">
|
822
822
|
<pre><span class="ruby-comment cmt"># File lib/rumai/ixp/transport.rb, line 326</span>
|
823
823
|
<span class="ruby-keyword kw">def</span> <span class="ruby-identifier">write</span> <span class="ruby-identifier">path</span>, <span class="ruby-identifier">content</span>
|
824
824
|
<span class="ruby-identifier">open</span> <span class="ruby-identifier">path</span>, <span class="ruby-value str">'w'</span> <span class="ruby-keyword kw">do</span> <span class="ruby-operator">|</span><span class="ruby-identifier">f</span><span class="ruby-operator">|</span>
|