()
| 99 | } |
| 100 | |
| 101 | func (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 | } |
no outgoing calls
no test coverage detected