mirror of
https://github.com/stashapp/stash.git
synced 2025-12-07 17:02:38 +01:00
chore: fix struct names (#4766)
Signed-off-by: hidewrong <hidewrong@outlook.com>
This commit is contained in:
parent
157b2e7bae
commit
4c0d9d0a07
3 changed files with 3 additions and 3 deletions
|
|
@ -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
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue