Class: Arv::Collection::CollectionRoot
Instance Attribute Summary
#name, #path
Instance Method Summary
collapse
#[], #add_copy, #check_can_add_copy, #copy_named, #each_file_path, #file?, #file_at, #find, human_name, #leaf?, #manifest_text, #merge, #stream_at
Constructor Details
435
436
437
438
|
# File 'lib/arvados/collection.rb', line 435
def initialize
super("")
setup
end
|
Instance Method Details
#check_can_merge(src_item, key) ⇒ Object
446
447
448
449
450
451
452
|
# File 'lib/arvados/collection.rb', line 446
def check_can_merge(src_item, key)
if items.include?(key)
super
else
raise_root_write_error(key)
end
end
|
#delete(name, opts = {}) ⇒ Object
440
441
442
443
444
|
# File 'lib/arvados/collection.rb', line 440
def delete(name, opts={})
super
setup
end
|