projects
/
arvados.git
/ blob
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
Merge branch 'master' of git.clinicalfuture.com:arvados into 1692-redesign-dashboard
[arvados.git]
/
apps
/
workbench
/
app
/
models
/
collection.rb
1
class Collection < ArvadosBase
2
def total_bytes
3
if files
4
tot = 0
5
files.each do |file|
6
tot += file[2]
7
end
8
tot
9
end
10
end
11
12
def attribute_editable?(attr)
13
false
14
end
15
end