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
431
432
433
434
|
# File 'lib/arvados/collection.rb', line 431
def initialize
super("")
setup
end
|
Instance Method Details
#check_can_merge(src_item, key) ⇒ Object
442
443
444
445
446
447
448
|
# File 'lib/arvados/collection.rb', line 442
def check_can_merge(src_item, key)
if items.include?(key)
super
else
raise_root_write_error(key)
end
end
|
#delete(name, opts = {}) ⇒ Object
436
437
438
439
440
|
# File 'lib/arvados/collection.rb', line 436
def delete(name, opts={})
super
setup
end
|