1
0
mirror of https://github.com/rclone/rclone.git synced 2026-01-01 16:13:35 +00:00

mountlib: make Nodes also be fmt.Stringer so they debug nicely

This commit is contained in:
Nick Craig-Wood
2017-05-09 11:29:02 +01:00
parent 9c3048580a
commit abda616f84
5 changed files with 46 additions and 3 deletions

View File

@@ -1,6 +1,7 @@
package mountlib
import (
"fmt"
"strings"
"sync/atomic"
"time"
@@ -21,6 +22,7 @@ var (
// Noder represents something which can return a node
type Noder interface {
fmt.Stringer
Node() Node
}