summary refs log tree commit diff stats
path: root/lib/deprecated/pure/ospaths.nim
blob: 34d452fd2b5ea309df242556c7c5d0cc10b19b60 (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