Skip to content

Commit dd0b9a8

Browse files
refined the doc comment
Signed-off-by: Xiaoxuan Wang <[email protected]>
1 parent 410068d commit dd0b9a8

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

content/oci/oci.go

+4-2
Original file line numberDiff line numberDiff line change
@@ -44,8 +44,10 @@ import (
4444
type Store struct {
4545
// AutoSaveIndex controls if the OCI store will automatically save the index
4646
// file when needed.
47-
// - If AutoSaveIndex is set to true, the OCI store will automatically save the
48-
// changes to `index.json` on Tag() and Delete() calls, and when pushing a manifest.
47+
// - If AutoSaveIndex is set to true, the OCI store will automatically save
48+
// the changes to `index.json` when
49+
// 1. pushing a manifest
50+
// 2. calling Tag() or Delete()
4951
// - If AutoSaveIndex is set to false, it's the caller's responsibility
5052
// to manually call SaveIndex() when needed.
5153
// - Default value: true.

0 commit comments

Comments
 (0)