MCPcopy
hub / github.com/feast-dev/feast / parseS3Path

Method parseS3Path

go/internal/feast/registry/s3.go:101–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

99}
100
101func (r *S3RegistryStore) parseS3Path() (string, string, error) {
102 path := strings.TrimPrefix(r.filePath, "s3://")
103 parts := strings.SplitN(path, "/", 2)
104 if len(parts) != 2 {
105 return "", "", errors.New("invalid S3 file path format")
106 }
107 return parts[0], parts[1], nil
108}

Callers 2

GetRegistryProtoMethod · 0.95
TeardownMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected