This commit is contained in:
Randy Smith 2018-11-19 02:22:21 -06:00 • committed by Andreas Rumpf
commit 6c7abe6e5b
12 changed files with 9 additions and 19 deletions

View file

@ -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.
##

View file

@ -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

View file

@ -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):