/var/www/greso.tech/server/nsm/node_modules/@google-cloud/storage/build/src
NameSizeModeActions
nodejs-common/-0755rm
acl.d.ts52290644editdlrm
acl.js265540644editdlrm
bucket.d.ts275340644editdlrm
bucket.js1382000644editdlrm
channel.d.ts9900644editdlrm
channel.js33070644editdlrm
crc32c.d.ts114360644editdlrm
crc32c.js122100644editdlrm
file.d.ts350500644editdlrm
file.js1307040644editdlrm
hash-stream-validator.d.ts15480644editdlrm
hash-stream-validator.js56130644editdlrm
hmacKey.d.ts34390644editdlrm
hmacKey.js132120644editdlrm
iam.d.ts41380644editdlrm
iam.js117630644editdlrm
index.d.ts56540644editdlrm
index.js28750644editdlrm
notification.d.ts38360644editdlrm
notification.js116320644editdlrm
resumable-upload.d.ts90650644editdlrm
resumable-upload.js321300644editdlrm
signer.d.ts31500644editdlrm
signer.js121080644editdlrm
storage.d.ts263100644editdlrm
storage.js452200644editdlrm
transfer-manager.d.ts76510644editdlrm
transfer-manager.js132750644editdlrm
util.d.ts30480644editdlrm
util.js72070644editdlrm
Edit: /var/www/greso.tech/server/nsm/node_modules/@google-cloud/storage/build/src/util.d.ts (3048B)
/// /// /// import * as querystring from 'querystring'; import { PassThrough } from 'stream'; export declare function normalize(optionsOrCallback?: T | U, cb?: U): { options: T; callback: U; }; /** * Flatten an object into an Array of arrays, [[key, value], ..]. * Implements Object.entries() for Node.js <8 * @internal */ export declare function objectEntries(obj: { [key: string]: T; }): Array<[string, T]>; /** * Encode `str` with encodeURIComponent, plus these * reserved characters: `! * ' ( )`. * * See {@link https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/encodeURIComponent| MDN: fixedEncodeURIComponent} * * @param {string} str The URI component to encode. * @return {string} The encoded string. */ export declare function fixedEncodeURIComponent(str: string): string; /** * URI encode `uri` for generating signed URLs, using fixedEncodeURIComponent. * * Encode every byte except `A-Z a-Z 0-9 ~ - . _`. * * @param {string} uri The URI to encode. * @param [boolean=false] encodeSlash If `true`, the "/" character is not encoded. * @return {string} The encoded string. */ export declare function encodeURI(uri: string, encodeSlash: boolean): string; /** * Serialize an object to a URL query string using util.encodeURI(uri, true). * @param {string} url The object to serialize. * @return {string} Serialized string. */ export declare function qsStringify(qs: querystring.ParsedUrlQueryInput): string; export declare function objectKeyToLowercase(object: { [key: string]: T; }): { [key: string]: T; }; /** * JSON encode str, with unicode \u+ representation. * @param {object} obj The object to encode. * @return {string} Serialized string. */ export declare function unicodeJSONStringify(obj: object): string; /** * Converts the given objects keys to snake_case * @param {object} obj object to convert keys to snake case. * @returns {object} object with keys converted to snake case. */ export declare function convertObjKeysToSnakeCase(obj: object): object; /** * Formats the provided date object as a UTC ISO string. * @param {Date} dateTimeToFormat date object to be formatted. * @param {boolean} includeTime flag to include hours, minutes, seconds in output. * @param {string} dateDelimiter delimiter between date components. * @param {string} timeDelimiter delimiter between time components. * @returns {string} UTC ISO format of provided date obect. */ export declare function formatAsUTCISO(dateTimeToFormat: Date, includeTime?: boolean, dateDelimiter?: string, timeDelimiter?: string): string; export declare class PassThroughShim extends PassThrough { private shouldEmitReading; private shouldEmitWriting; _read(size: number): void; _write(chunk: never, encoding: BufferEncoding, callback: (error?: Error | null | undefined) => void): void; _final(callback: (error?: Error | null | undefined) => void): void; }