Show for binary files the file size increase/decrease as percentage
Change-Id: I2003eb427141ed4bf72254659210f1c7b5e7dcdf Signed-off-by: Edwin Kempin <ekempin@google.com>
This commit is contained in:
@@ -34,6 +34,11 @@ public class FileInfo extends JavaScriptObject {
|
||||
// JSNI methods cannot have 'long' as a parameter type or a return type and
|
||||
// it's suggested to use double in this case:
|
||||
// http://www.gwtproject.org/doc/latest/DevGuideCodingBasicsJSNI.html#important
|
||||
public final long size() {
|
||||
return (long)_size();
|
||||
}
|
||||
private final native double _size() /*-{ return this.size || 0; }-*/;
|
||||
|
||||
public final long sizeDelta() {
|
||||
return (long)_sizeDelta();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user