From d8e829ad185b3d319bc6e3708b831361c346b26c Mon Sep 17 00:00:00 2001 From: bytetigers Date: Mon, 14 Jul 2025 02:30:58 +0800 Subject: [PATCH] chore: fix function name/description in comment (#4325) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * chore: fix function in comment Signed-off-by: bytetigers * Update model/metadata/persistent_ids.go Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --------- Signed-off-by: bytetigers Co-authored-by: Deluan Quintão Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com> --- model/metadata/persistent_ids.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/model/metadata/persistent_ids.go b/model/metadata/persistent_ids.go index 0a1451cf..95e93c2f 100644 --- a/model/metadata/persistent_ids.go +++ b/model/metadata/persistent_ids.go @@ -16,7 +16,7 @@ import ( type hashFunc = func(...string) string -// getPID returns the persistent ID for a given spec, getting the referenced values from the metadata +// createGetPID returns a function that calculates the persistent ID for a given spec, getting the referenced values from the metadata // The spec is a pipe-separated list of fields, where each field is a comma-separated list of attributes // Attributes can be either tags or some processed values like folder, albumid, albumartistid, etc. // For each field, it gets all its attributes values and concatenates them, then hashes the result.