blob: b1af1258e0ef4d522745dbcd9c67b1c00ceef8a8 [file] [log] [blame]
// Copyright 2020 The Fuchsia Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
// TODO(https://fxbug.dev/84961): Fix null safety and remove this language version.
// @dart=2.9
class Blob {
String hash;
String sourcePath = 'Unknown';
String buildPath;
int size;
int sizeOnHost;
int count;
int get saved {
return size * (count - 1);
}
int get proportional {
return size ~/ count;
}
}