From 4a351f516947afbde448a387921ae53db547c345 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 24 Oct 2023 18:17:58 +0200 Subject: Split webdav documentation into multiple files. --- doc/ref/webdav/resource-types.texi | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) create mode 100644 doc/ref/webdav/resource-types.texi (limited to 'doc/ref/webdav/resource-types.texi') diff --git a/doc/ref/webdav/resource-types.texi b/doc/ref/webdav/resource-types.texi new file mode 100644 index 00000000..1861acc0 --- /dev/null +++ b/doc/ref/webdav/resource-types.texi @@ -0,0 +1,38 @@ +@node WebDAV Resource Types +@section Resource Types + +@subsection @code{(calp webdav resource base)} + +Implementation of @code{(calp webdav resource)}. Exists to possibly +avoid dependency loops. + +@subsection @code{(calp webdav resource calendar)} +@subsection @code{(calp webdav resource file)} + +Resources backed by the file system. + +@defun file-resource? x +@end defun + +@deftp {GOOPS method} children +@end deftp + +@deftp {GOOPS method} is-collection? +@end deftp + +@deftp {GOOPS method} creationdate +Retrived directly from the file through @command{stat -c %W $@{filename@}}. +@end deftp + +@deftp {GOOPS method} content +@deftpx {GOOPS method} set-content! data +Directly interfaced with the file. + +Data can't be retrieved for collections, and will always be +returned as a bytevector for non-collections. + +Data can be set either as a string or a bytevector. When a string is +used Guile's current encoding will be used. +@end deftp + +@subsection @code{(calp webdav resource virtual)} -- cgit v1.2.3