We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents cf749f5 + c5dbb01 commit 5a06c6fCopy full SHA for 5a06c6f
internal/instance/snapshot.go
@@ -4,8 +4,10 @@ import (
4
"strings"
5
)
6
7
+// SnapshotDelimiter is used to separate instance name from snapshot name.
8
const SnapshotDelimiter = "/"
9
10
+// IsSnapshot checks if provided name is a snapshot name.
11
func IsSnapshot(name string) bool {
12
return strings.Contains(name, SnapshotDelimiter)
13
}
0 commit comments