1
0
mirror of https://github.com/rclone/rclone.git synced 2025-12-06 00:03:32 +00:00

fs: make Flagger and FlaggerNP interfaces public so we can test flags elsewhere

This commit is contained in:
Nick Craig-Wood
2024-07-08 12:14:28 +01:00
parent e79273f9c9
commit 2e653f8128
12 changed files with 43 additions and 39 deletions

View File

@@ -11,8 +11,8 @@ import (
// Check it satisfies the interfaces
var (
_ flagger = (*CutoffMode)(nil)
_ flaggerNP = CutoffMode(0)
_ Flagger = (*CutoffMode)(nil)
_ FlaggerNP = CutoffMode(0)
)
func TestCutoffModeString(t *testing.T) {