/
githubmirror
/
rclone
Обзор
Документация
Войти
/
githubmirror
/
rclone
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
backend/union/common/options.go
17 строк
795 B
albertony
build: ignore revive lint issue var-naming: avoid meaningless package names
22 авг 2025, 02:14
22 авг 2025, 02:14
ae5cc1a
Код
Авторство
О чём код?
// Package common defines code common to the union and the policies // // These need to be defined in a separate package to avoid import loops package common //nolint:revive // Don't include revive when running golangci-lint because this triggers var-naming: avoid meaningless package names import "github.com/rclone/rclone/fs" // Options defines the configuration for this backend type Options struct { Upstreams fs.SpaceSepList `config:"upstreams"` Remotes fs.SpaceSepList `config:"remotes"` // Deprecated ActionPolicy string `config:"action_policy"` CreatePolicy string `config:"create_policy"` SearchPolicy string `config:"search_policy"` CacheTime int `config:"cache_time"` MinFreeSpace fs.SizeSuffix `config:"min_free_space"` }