mirror of https://github.com/stashapp/stash.git
chore: fix struct names (#4766)
Signed-off-by: hidewrong <hidewrong@outlook.com>
This commit is contained in:
parent
157b2e7bae
commit
4c0d9d0a07
|
@ -28,7 +28,7 @@ type cleanJob struct {
|
|||
options CleanOptions
|
||||
}
|
||||
|
||||
// ScanOptions provides options for scanning files.
|
||||
// CleanOptions provides options for scanning files.
|
||||
type CleanOptions struct {
|
||||
Paths []string
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@ package models
|
|||
|
||||
import "context"
|
||||
|
||||
// FileGetter provides methods to get files by ID.
|
||||
// BlobReader provides methods to get files by ID.
|
||||
type BlobReader interface {
|
||||
EntryExists(ctx context.Context, checksum string) (bool, error)
|
||||
}
|
||||
|
|
|
@ -177,7 +177,7 @@ func NewOptionalBoolPtr(v *bool) OptionalBool {
|
|||
return OptionalBool{*v, false, true}
|
||||
}
|
||||
|
||||
// OptionalBool represents an optional float64 argument that may be null. See OptionalString.
|
||||
// OptionalFloat64 represents an optional float64 argument that may be null. See OptionalString.
|
||||
type OptionalFloat64 struct {
|
||||
Value float64
|
||||
Null bool
|
||||
|
|
Loading…
Reference in New Issue