Deprecate and/or remove ospaths (#14767)

This commit is contained in:
Juan Carlos
2020-06-23 05:51:33 -03:00
committed by GitHub
parent 511bd947d3
commit 8e54bc5b0c
6 changed files with 6 additions and 6 deletions

View File

@@ -18,7 +18,7 @@
##
## Unstable API.
from ospaths import raiseOSError, osLastError
from os import raiseOSError, osLastError
template distance*(lhs, rhs: pointer): int =
cast[int](rhs) - cast[int](lhs)

View File

@@ -11,7 +11,7 @@
## SSL_CERT_DIR environment variables.
import os, strutils
from ospaths import existsEnv, getEnv
from os import existsEnv, getEnv
import strutils
# SECURITY: this unnecessarily scans through dirs/files regardless of the

View File

@@ -2,7 +2,7 @@
# bug #9505
import std/[
strutils, ospaths, os
strutils, os
]
import pkg/[
regex

View File

@@ -2,7 +2,7 @@
# bug #9505
import std/[
strutils, ospaths, os
strutils, os
]
import pkg/[
regex

View File

@@ -12,7 +12,7 @@
import httpclient,
net,
unittest,
ospaths
os
from strutils import contains

View File

@@ -13,7 +13,7 @@
## SSL_CERT_FILE=BogusInexistentFileName tests/untestable/thttpclient_ssl_env_var
## SSL_CERT_DIR=BogusInexistentDirName tests/untestable/thttpclient_ssl_env_var
import httpclient, unittest, ospaths
import httpclient, unittest, os
from net import newSocket, newContext, wrapSocket, connect, close, Port,
CVerifyPeerUseEnvVars
from strutils import contains