docs: Move the GFile*Stream SECTIONs

Move them to the struct docs.

Signed-off-by: Philip Withnall <philip@tecnocode.co.uk>

Helps: #3037
This commit is contained in:
Philip Withnall
2023-10-25 13:11:33 +01:00
parent 6c930587ad
commit 607eb851ba
4 changed files with 14 additions and 36 deletions

View File

@@ -33,25 +33,22 @@
/**
* SECTION:gfileoutputstream
* @short_description: File output streaming operations
* @include: gio/gio.h
* @see_also: #GOutputStream, #GDataOutputStream, #GSeekable
* GFileOutputStream:
*
* GFileOutputStream provides output streams that write their
* `GFileOutputStream` provides output streams that write their
* content to a file.
*
* GFileOutputStream implements #GSeekable, which allows the output
* `GFileOutputStream` implements [iface@Gio.Seekable], which allows the output
* stream to jump to arbitrary positions in the file and to truncate
* the file, provided the filesystem of the file supports these
* operations.
*
* To find the position of a file output stream, use g_seekable_tell().
* To find the position of a file output stream, use [method@Gio.Seekable.tell].
* To find out if a file output stream supports seeking, use
* g_seekable_can_seek().To position a file output stream, use
* g_seekable_seek(). To find out if a file output stream supports
* truncating, use g_seekable_can_truncate(). To truncate a file output
* stream, use g_seekable_truncate().
* [method@Gio.Seekable.can_seek].To position a file output stream, use
* [method@Gio.Seekable.seek]. To find out if a file output stream supports
* truncating, use [method@Gio.Seekable.can_truncate]. To truncate a file output
* stream, use [method@Gio.Seekable.truncate].
**/
static void g_file_output_stream_seekable_iface_init (GSeekableIface *iface);