ArtifactWithVersions is one artifact with its edit history, as the API returns a single artifact.
| 81 | // ArtifactWithVersions is one artifact with its edit history, as the API |
| 82 | // returns a single artifact. |
| 83 | type ArtifactWithVersions struct { |
| 84 | Artifact |
| 85 | // Versions is the edit history as the API returns it: newest first, |
| 86 | // including the current version. |
| 87 | Versions []Version |
| 88 | } |
| 89 | |
| 90 | // Version is one saved version of an artifact. The API can return null for |
| 91 | // the actor and the timestamp, so those are pointers. |
nothing calls this directly
no outgoing calls
no test coverage detected