mirror of
https://github.com/rclone/rclone.git
synced 2025-12-17 16:53:22 +00:00
Move dircache, oauthutil, rest and pacer modules into lib
This commit is contained in:
16
lib/oauthutil/oauthutil_old.go
Normal file
16
lib/oauthutil/oauthutil_old.go
Normal file
@@ -0,0 +1,16 @@
|
||||
// oauthutil parts pre go1.8+
|
||||
|
||||
//+build !go1.8
|
||||
|
||||
package oauthutil
|
||||
|
||||
import "github.com/ncw/rclone/fs"
|
||||
|
||||
func (s *authServer) Stop() {
|
||||
fs.Debugf(nil, "Closing auth server")
|
||||
if s.code != nil {
|
||||
close(s.code)
|
||||
s.code = nil
|
||||
}
|
||||
_ = s.listener.Close()
|
||||
}
|
||||
Reference in New Issue
Block a user