ospaths.nim 923 B

1234567891011121314151617181920212223
  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 since 0.20.0, `import std/os` instead.
  10. {.deprecated: "use `std/os` 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