Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
emulab
emulab-devel
Commits
f0ecfc3d
Commit
f0ecfc3d
authored
May 15, 2015
by
Leigh B Stoller
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Hmm, maybe I lost these two methods along the way.
parent
f1d1fc0b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
20 additions
and
0 deletions
+20
-0
db/Image.pm.in
db/Image.pm.in
+20
-0
No files found.
db/Image.pm.in
View file @
f0ecfc3d
...
...
@@ -2195,6 +2195,26 @@ sub SetDelta($$)
return
0
;
}
sub
SetSize
($$)
{
my
($
self
,
$
size
)
=
@
_
;
return
-
1
if
(
! $self->Update({'size' => $size}));
return
0
;
}
sub
SetHash
($$)
{
my
($
self
,
$
hash
)
=
@
_
;
return
-
1
if
(
! $self->Update({'hash' => $hash}));
return
0
;
}
sub
LocalURL
($)
{
my
($
self
)
=
@
_
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment