carddav: compatibility with go-webdav
This commit is contained in:
parent
e3ec66ed0f
commit
9a26c9d63a
|
@ -2,6 +2,7 @@ package carddav
|
||||||
|
|
||||||
import (
|
import (
|
||||||
"net/http"
|
"net/http"
|
||||||
|
"os"
|
||||||
"strings"
|
"strings"
|
||||||
|
|
||||||
"github.com/emersion/hydroxide/protonmail"
|
"github.com/emersion/hydroxide/protonmail"
|
||||||
|
@ -45,6 +46,10 @@ func (ao *addressObject) Card() (vcard.Card, error) {
|
||||||
return card, nil
|
return card, nil
|
||||||
}
|
}
|
||||||
|
|
||||||
|
func (ao *addressObject) Stat() (os.FileInfo, error) {
|
||||||
|
return nil, nil
|
||||||
|
}
|
||||||
|
|
||||||
type addressBook struct {
|
type addressBook struct {
|
||||||
c *protonmail.Client
|
c *protonmail.Client
|
||||||
cache map[string]carddav.AddressObject
|
cache map[string]carddav.AddressObject
|
||||||
|
|
Loading…
Reference in New Issue