lib/rio/ops/dir.rb in rio-0.4.0 vs lib/rio/ops/dir.rb in rio-0.4.1
- old
+ new
@@ -228,17 +228,18 @@
return self unless cx.has_key?('skip_args')
args = cx['skip_args'] || []
self.skipentries(*args)
end
def ent_to_rio_(ent,indir)
- #p "ent_to_rio: #{ent.inspect},#{ent.fs.class} indir=#{indir}"
+ #p "ent_to_rio: ent=#{ent.inspect} indir=#{indir}"
if ent.kind_of?(RIO::Rio)
oldpath = ent.to_s
ent.rl.urlpath = indir.to_s
ent.join!(oldpath)
ent.cx = self.cx.bequeath(ent.cx)
ent
else
+ # KIT: should this be RL.fs2url(ent) ???
if indir
new_rio_cx(indir.rl,ent)
else
new_rio_cx(ent)
end