summary refs log tree commit diff stats
path: root/lib/deprecated
diff options
context:
space:
mode:
authorRandy Smith <randydsmithhr@gmail.com>2018-11-19 02:22:21 -0600
committerAndreas Rumpf <rumpf_a@web.de>2018-11-19 09:22:21 +0100
commit6c7abe6e5b9ff46fdf024e471091799361fb387f (patch)
tree8b672db6d7cae282fea3219d1bb7ad2663e5f689 /lib/deprecated
parent9b9f5dee0b4810718a587354aaf4f352bc5c24bb (diff)
downloadNim-6c7abe6e5b9ff46fdf024e471091799361fb387f.tar.gz
Fixes #9671 (#9750)
Diffstat (limited to 'lib/deprecated')
-rw-r--r--lib/deprecated/pure/ospaths.nim21
1 files changed, 21 insertions, 0 deletions
diff --git a/lib/deprecated/pure/ospaths.nim b/lib/deprecated/pure/ospaths.nim
new file mode 100644
index 000000000..34d452fd2
--- /dev/null
+++ b/lib/deprecated/pure/ospaths.nim
@@ -0,0 +1,21 @@
+#
+#
+#            Nim's Runtime Library
+#        (c) Copyright 2015 Andreas Rumpf
+#
+#    See the file "copying.txt", included in this
+#    distribution, for details about the copyright.
+#
+
+## This module is deprecated, ``import os`` instead.
+{.deprecated: "import os.nim instead".}
+
+import os
+export ReadEnvEffect, WriteEnvEffect, ReadDirEffect, WriteDirEffect, OSErrorCode,
+  doslikeFileSystem, CurDir, ParDir, DirSep, AltSep, PathSep, FileSystemCaseSensitive,
+  ExeExt, ScriptExt, DynlibFormat, ExtSep, joinPath, `/`, splitPath, parentDir,
+  tailDir, isRootDir, parentDirs, `/../`, searchExtPos, splitFile, extractFilename,
+  lastPathPart, changeFileExt, addFileExt, cmpPaths, isAbsolute, unixToNativePath,
+  `==`, `$`, osErrorMsg, raiseOSError, osLastError, getEnv, existsEnv, putEnv,
+  getHomeDir, getConfigDir, getTempDir, expandTilde, quoteShellWindows,
+  quoteShellPosix, quoteShell, quoteShellCommand