Urara-Blog/node_modules/.pnpm-store/v3/files/b6/95891db5222640b8f7a64f8518a301f19948cd39bd6b77a3040cffeb3a4947b2e617d96b28ac53fdb8793e02958125e5bcf6ffbb791df3cb8400489f9bc022
2022-08-14 01:14:53 +08:00

19 lines
557 B
Text

"use strict";
/*
Copyright 2018 Google LLC
Use of this source code is governed by an MIT-style
license that can be found in the LICENSE file or at
https://opensource.org/licenses/MIT.
*/
Object.defineProperty(exports, "__esModule", { value: true });
exports.getStringDetails = void 0;
const get_string_hash_1 = require("./get-string-hash");
function getStringDetails(url, str) {
return {
file: url,
hash: (0, get_string_hash_1.getStringHash)(str),
size: str.length,
};
}
exports.getStringDetails = getStringDetails;