From 88d16efc787cd5c3da88c4508d15ad01b7228506 Mon Sep 17 00:00:00 2001 From: FengyunPan2 Date: Fri, 12 Dec 2025 16:18:57 +0800 Subject: [PATCH] Add DstLinkPath into FileMetadata for symlink --- specs-go/v1/annotations.go | 3 +++ 1 file changed, 3 insertions(+) diff --git a/specs-go/v1/annotations.go b/specs-go/v1/annotations.go index 2ffffad..3a86a55 100644 --- a/specs-go/v1/annotations.go +++ b/specs-go/v1/annotations.go @@ -51,4 +51,7 @@ type FileMetadata struct { // File type flag (e.g., regular file, directory, etc.) Typeflag byte `json:"typeflag"` + + // dstlinkpath is the destination link path for link type files (e.g., TypeLink, TypeSymlink) + DstLinkPath string `json:"dstlinkpath,omitempty"` }