mirror of
https://github.com/nim-lang/Nim.git
synced 2026-01-03 11:42:33 +00:00
Export AsyncFile. Add asyncfile module to docgen.
This commit is contained in:
@@ -175,6 +175,9 @@ Generic Operating System Services
|
||||
This module implements the ability to monitor a directory/file for changes
|
||||
using Posix's inotify API.
|
||||
|
||||
* `asyncfile <asyncfile.html>`_
|
||||
This module implements asynchronous file reading and writing using
|
||||
``asyncdispatch``.
|
||||
|
||||
Math libraries
|
||||
--------------
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
# distribution, for details about the copyright.
|
||||
#
|
||||
|
||||
## This module implements asynchronous file handling.
|
||||
## This module implements asynchronous file reading and writing.
|
||||
##
|
||||
## .. code-block:: Nim
|
||||
## import asyncfile, asyncdispatch, os
|
||||
@@ -30,7 +30,7 @@ else:
|
||||
import posix
|
||||
|
||||
type
|
||||
AsyncFile = ref object
|
||||
AsyncFile* = ref object
|
||||
fd: TAsyncFd
|
||||
offset: int64
|
||||
|
||||
|
||||
@@ -59,6 +59,7 @@ srcdoc2: "pure/nimprof;pure/unittest;packages/docutils/highlite"
|
||||
srcdoc2: "packages/docutils/rst;packages/docutils/rstast"
|
||||
srcdoc2: "packages/docutils/rstgen;pure/logging;pure/asyncdispatch;pure/asyncnet"
|
||||
srcdoc2: "pure/rawsockets;pure/asynchttpserver;pure/net;pure/selectors;pure/future"
|
||||
srcdoc2: "pure/asyncfile"
|
||||
srcdoc2: "pure/md5"
|
||||
srcdoc2: "posix/posix"
|
||||
srcdoc2: "pure/fenv"
|
||||
|
||||
Reference in New Issue
Block a user