summary refs log tree commit diff stats
path: root/lib/deprecated/pure/ospaths.nim
blob: 6c7fe4fb30400b71113ec944a72b4e794cf632b5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
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