diff options
author | Randy Smith <randydsmithhr@gmail.com> | 2018-11-19 02:22:21 -0600 |
---|---|---|
committer | Andreas Rumpf <rumpf_a@web.de> | 2018-11-19 09:22:21 +0100 |
commit | 6c7abe6e5b9ff46fdf024e471091799361fb387f (patch) | |
tree | 8b672db6d7cae282fea3219d1bb7ad2663e5f689 /lib/pure | |
parent | 9b9f5dee0b4810718a587354aaf4f352bc5c24bb (diff) | |
download | Nim-6c7abe6e5b9ff46fdf024e471091799361fb387f.tar.gz |
Fixes #9671 (#9750)
Diffstat (limited to 'lib/pure')
-rw-r--r-- | lib/pure/os.nim | 2 | ||||
-rw-r--r-- | lib/pure/ospaths.nim | 21 | ||||
-rw-r--r-- | lib/pure/osproc.nim | 1 |
3 files changed, 0 insertions, 24 deletions
diff --git a/lib/pure/os.nim b/lib/pure/os.nim index 658bb6d3a..e2dd872e8 100644 --- a/lib/pure/os.nim +++ b/lib/pure/os.nim @@ -1934,8 +1934,6 @@ proc moveDir*(source, dest: string) {.tags: [ReadIOEffect, WriteIOEffect], noNim copyDir(source, dest) removeDir(source) -#include ospaths - proc expandSymlink*(symlinkPath: string): string {.noNimScript.} = ## Returns a string representing the path to which the symbolic link points. ## diff --git a/lib/pure/ospaths.nim b/lib/pure/ospaths.nim deleted file mode 100644 index 34d452fd2..000000000 --- a/lib/pure/ospaths.nim +++ /dev/null @@ -1,21 +0,0 @@ -# -# -# 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 diff --git a/lib/pure/osproc.nim b/lib/pure/osproc.nim index 879a2d3a7..0cf2171de 100644 --- a/lib/pure/osproc.nim +++ b/lib/pure/osproc.nim @@ -15,7 +15,6 @@ include "system/inclrtl" import strutils, os, strtabs, streams, cpuinfo -#from ospaths import quoteShell, quoteShellWindows, quoteShellPosix export quoteShell, quoteShellWindows, quoteShellPosix when defined(windows): |