export async function getFileInfo()

in src/lib/storage.ts [97:105]


export async function getFileInfo(path: string) {
	const bucket = await getBucket();

	const options = { Bucket: bucket, Key: path };
	console.log(
		`Retrieving information for file ${options.Key} from S3 bucket ${options.Bucket}.`,
	);
	return s3.headObject(options).promise();
}