parent
9b9f5dee0b
commit
6c7abe6e5b
12 changed files with 9 additions and 19 deletions
|
|
@ -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.
|
||||
##
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue