emersion / go-webdav

A Go library for WebDAV, CalDAV and CardDAV
MIT License
317 stars 67 forks source link

webdav: rename ServeUserPrincipal to ServePrincipal #77

Closed emersion closed 2 years ago

emersion commented 2 years ago

A principal may represent something else than a user, for instance it may represent a group.

Also rename UserPrincipalPath to CurrentUserPrincipalPath, because the principal being served may not represent the current user.

cc @bitfehler