Skip to content

Commit 54712a7

Browse files
committed
details
1 parent a5ded07 commit 54712a7

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

packages/components/src/lib/utils.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,6 @@ export function asyncBufferFrom(from: AsyncBufferFrom): Promise<AsyncBuffer> {
2727
const cache = new Map<string, Promise<AsyncBuffer>>()
2828
// TODO(SL): do we really want a singleton?
2929

30-
3130
export function getFileDateShort(file?: { lastModified?: string }): string {
3231
if (!file?.lastModified) return ''
3332
const date = new Date(file.lastModified)
@@ -83,7 +82,6 @@ export function parseFileSize(headers: Headers): number | undefined {
8382
return contentLength ? Number(contentLength) : undefined
8483
}
8584

86-
/// utils
8785
export function getFileName(source: string): string {
8886
const fileName = source
8987
.replace(/\?.*$/, '') // remove query string

0 commit comments

Comments
 (0)