summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorFederico Ceratto <federico.ceratto@gmail.com>2023-05-29 16:51:31 +0100
committerGitHub <noreply@github.com>2023-05-29 17:51:31 +0200
commitef060e818468da0bd53d52a501443ce3d01f06a1 (patch)
tree6e26eff68895ac10d0679cf14c26611369778205
parent108410ac343c0b5e34f58e7aee2aa6a39850e3d9 (diff)
downloadNim-ef060e818468da0bd53d52a501443ce3d01f06a1.tar.gz
Suggest files and paths modules (#21950)
-rw-r--r--lib/pure/os.nim1
-rw-r--r--lib/std/files.nim3
-rw-r--r--lib/std/paths.nim3
3 files changed, 7 insertions, 0 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim
index e9408f826..434fc3a26 100644
--- a/lib/pure/os.nim
+++ b/lib/pure/os.nim
@@ -22,6 +22,7 @@ runnableExamples:
   assert myFile.changeFileExt("c") == "/path/to/my/file.c"
 
 ## **See also:**
+## * `paths <paths.html>`_ and `files <files.html>`_ modules for high-level file manipulation
 ## * `osproc module <osproc.html>`_ for process communication beyond
 ##   `execShellCmd proc`_
 ## * `uri module <uri.html>`_
diff --git a/lib/std/files.nim b/lib/std/files.nim
index 138bb5234..b2161218b 100644
--- a/lib/std/files.nim
+++ b/lib/std/files.nim
@@ -1,4 +1,7 @@
 ## This module implements file handling.
+##
+## **See also:**
+## * `paths module <paths.html>`_ for path manipulation
 
 from paths import Path, ReadDirEffect, WriteDirEffect
 
diff --git a/lib/std/paths.nim b/lib/std/paths.nim
index c29096982..f675e7445 100644
--- a/lib/std/paths.nim
+++ b/lib/std/paths.nim
@@ -1,4 +1,7 @@
 ## This module implements path handling.
+##
+## **See also:**
+## * `files module <files.html>`_ for file access
 
 import std/private/osseps
 export osseps