ospaths.nim 908 B

12345678910111213141516171819202122
  1. #
  2. #
  3. # Nim's Runtime Library
  4. # (c) Copyright 2015 Andreas Rumpf
  5. #
  6. # See the file "copying.txt", included in this
  7. # distribution, for details about the copyright.
  8. #
  9. ## This module is deprecated, ``import os`` instead.
  10. {.deprecated: "import os.nim instead".}
  11. import os
  12. export ReadEnvEffect, WriteEnvEffect, ReadDirEffect, WriteDirEffect, OSErrorCode,
  13. doslikeFileSystem, CurDir, ParDir, DirSep, AltSep, PathSep, FileSystemCaseSensitive,
  14. ExeExt, ScriptExt, DynlibFormat, ExtSep, joinPath, `/`, splitPath, parentDir,
  15. tailDir, isRootDir, parentDirs, `/../`, searchExtPos, splitFile, extractFilename,
  16. lastPathPart, changeFileExt, addFileExt, cmpPaths, isAbsolute, unixToNativePath,
  17. `==`, `$`, osErrorMsg, raiseOSError, osLastError, getEnv, existsEnv, putEnv,
  18. getHomeDir, getConfigDir, getTempDir, expandTilde, quoteShellWindows,
  19. quoteShellPosix, quoteShell, quoteShellCommand