Skip to content

Function: computeSkinHash() ​

This example requires Node.js.

ts
import { computeSkinHash } from 'osu-files'

const hash = computeSkinHash([
  { filename: 'skin.ini', content: Buffer.from(skinIniSource) },
])

return hash

Call Signature ​

computeSkinHash(files): string

Defined in: src/integrity.ts:51

Parameters ​

ParameterType
filesobject[]

Returns ​

string

Call Signature ​

computeSkinHash(ctx, usages): string

Defined in: src/integrity.ts:52

Parameters ​

ParameterType
ctxOsuFilesContext
usagesIterable<RealmNamedFileUsage>

Returns ​

string

Released under the MIT License.