mirror of
https://github.com/langgenius/dify-cloud-kit.git
synced 2026-07-18 18:44:27 -04:00
[PR #20] [MERGED] fix(gcs): List returns relative path instead of full path #20
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/langgenius/dify-cloud-kit/pull/20
Author: @minodisk
Created: 1/29/2026
Status: ✅ Merged
Merged: 2/1/2026
Merged by: @41tair
Base:
main← Head:fix/gcs-list-return-relative-path📝 Commits (1)
37ed7e2fix(gcs): List returns relative path instead of full path📊 Changes
2 files changed (+4 additions, -1 deletions)
View changed files
📝
oss/gcsblob/gcs.go(+1 -1)📝
tests/oss/oss_test.go(+3 -0)📄 Description
Summary
Listmethod returning full paths (attrs.Name) instead of relative paths (key with prefix stripped)Listreturns relative pathsBackground
The original implementation in dify-plugin-daemon PR #237 correctly used
key, but it was mistakenly changed toattrs.Namewhen ported to dify-cloud-kit.Test plan
Listmethod returns relative paths🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.