diff options
author | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-24 18:17:58 +0200 |
---|---|---|
committer | Hugo Hörnquist <hugo@lysator.liu.se> | 2023-10-24 18:17:58 +0200 |
commit | 4a351f516947afbde448a387921ae53db547c345 (patch) | |
tree | 4171f42918b1c79d05b6a57c90871d6fb3cca391 /doc/ref/webdav/resource-types.texi | |
parent | Add tests for (calp translation). (diff) | |
download | calp-4a351f516947afbde448a387921ae53db547c345.tar.gz calp-4a351f516947afbde448a387921ae53db547c345.tar.xz |
Split webdav documentation into multiple files.
Diffstat (limited to '')
-rw-r--r-- | doc/ref/webdav/resource-types.texi | 38 |
1 files changed, 38 insertions, 0 deletions
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 <file-resource> +@end deftp + +@deftp {GOOPS method} is-collection? <file-resource> +@end deftp + +@deftp {GOOPS method} creationdate <file-resource> +Retrived directly from the file through @command{stat -c %W $@{filename@}}. +@end deftp + +@deftp {GOOPS method} content <file-resource> +@deftpx {GOOPS method} set-content! <file-resource> 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)} |