mirror of
https://github.com/stashapp/stash.git
synced 2025-12-16 20:07:05 +03:00
chore: fix struct names (#4766)
Signed-off-by: hidewrong <hidewrong@outlook.com>
This commit is contained in:
@@ -28,7 +28,7 @@ type cleanJob struct {
|
|||||||
options CleanOptions
|
options CleanOptions
|
||||||
}
|
}
|
||||||
|
|
||||||
// ScanOptions provides options for scanning files.
|
// CleanOptions provides options for scanning files.
|
||||||
type CleanOptions struct {
|
type CleanOptions struct {
|
||||||
Paths []string
|
Paths []string
|
||||||
|
|
||||||
|
|||||||
@@ -2,7 +2,7 @@ package models
|
|||||||
|
|
||||||
import "context"
|
import "context"
|
||||||
|
|
||||||
// FileGetter provides methods to get files by ID.
|
// BlobReader provides methods to get files by ID.
|
||||||
type BlobReader interface {
|
type BlobReader interface {
|
||||||
EntryExists(ctx context.Context, checksum string) (bool, error)
|
EntryExists(ctx context.Context, checksum string) (bool, error)
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -177,7 +177,7 @@ func NewOptionalBoolPtr(v *bool) OptionalBool {
|
|||||||
return OptionalBool{*v, false, true}
|
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 {
|
type OptionalFloat64 struct {
|
||||||
Value float64
|
Value float64
|
||||||
Null bool
|
Null bool
|
||||||
|
|||||||
Reference in New Issue
Block a user