summaryrefslogtreecommitdiff
path: root/fs.go
diff options
context:
space:
mode:
Diffstat (limited to 'fs.go')
-rw-r--r--fs.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/fs.go b/fs.go
index 18ebb5a..1baa723 100644
--- a/fs.go
+++ b/fs.go
@@ -116,3 +116,7 @@ func (fs *Fs) Chown(name string, uid, gid int) error {
func (fs *Fs) Chtimes(name string, atime time.Time, mtime time.Time) error {
panic("not implemented")
}
+
+func (fs *Fs) contextWithTimeout() (context.Context, context.CancelFunc) {
+ return context.WithTimeout(context.Background(), fs.Timeout)
+}