Remove dead code

Change-type: patch
This commit is contained in:
Alexis Svinartchouk 2020-05-14 15:29:47 +02:00
parent d5df3de1d7
commit bf26d4ec95

View File

@ -18,7 +18,6 @@ import * as _ from 'lodash';
import * as prettyBytes from 'pretty-bytes';
const MEGABYTE_TO_BYTE_RATIO = 1000000;
const MILLISECONDS_IN_A_DAY = 86400000;
export function bytesToMegabytes(bytes: number): number {
return bytes / MEGABYTE_TO_BYTE_RATIO;
@ -30,7 +29,3 @@ export function bytesToClosestUnit(bytes: number): string | null {
}
return null;
}
export function daysToMilliseconds(days: number): number {
return days * MILLISECONDS_IN_A_DAY;
}