mirror of https://github.com/veypi/OneAuth.git
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
300 B
Go
19 lines
300 B
Go
//
|
|
// fs.go
|
|
// Copyright (C) 2024 veypi <i@veypi.com>
|
|
// 2024-10-22 15:51
|
|
// Distributed under terms of the GPL license.
|
|
//
|
|
|
|
package fs
|
|
|
|
import (
|
|
"oa/libs/webdav"
|
|
)
|
|
|
|
func NewFs(dir_path, prefix string) *webdav.Handler {
|
|
client := webdav.NewWebdav(dir_path)
|
|
client.Prefix = prefix
|
|
return client
|
|
}
|