Commit 2683f98a authored by Raoul Hidalgo Charman's avatar Raoul Hidalgo Charman
Browse files

_cas: Rename artifactcache folder and move that to a root module

Other components will start to reply on cas modules, and not the artifact cache
modules so it should be organized to reflect this.

All relevant imports have been changed.

Part #802
parent d6587aa0
Loading
Loading
Loading
Loading
+8 −8
Original line number Diff line number Diff line
@@ -23,14 +23,14 @@ import signal
import string
from collections.abc import Mapping

from ..types import _KeyStrength
from .._exceptions import ArtifactError, CASError, LoadError, LoadErrorReason
from .._message import Message, MessageType
from .. import _signals
from .. import utils
from .. import _yaml

from .cascache import CASRemote, CASRemoteSpec
from .types import _KeyStrength
from ._exceptions import ArtifactError, CASError, LoadError, LoadErrorReason
from ._message import Message, MessageType
from . import _signals
from . import utils
from . import _yaml

from ._cas import CASRemote, CASRemoteSpec


CACHE_SIZE_FILE = "cache_size"
+1 −1
Original line number Diff line number Diff line
@@ -17,4 +17,4 @@
#  Authors:
#        Tristan Van Berkom <tristan.vanberkom@codethink.co.uk>

from .artifactcache import ArtifactCache, ArtifactCacheSpec, CACHE_SIZE_FILE
from .cascache import CASCache, CASRemote, CASRemoteSpec
+1 −1
Original line number Diff line number Diff line
@@ -31,7 +31,7 @@ from ._exceptions import LoadError, LoadErrorReason, BstError
from ._message import Message, MessageType
from ._profile import Topics, profile_start, profile_end
from ._artifactcache import ArtifactCache
from ._artifactcache.cascache import CASCache
from ._cas import CASCache
from ._workspaces import Workspaces, WorkspaceProjectCache, WORKSPACE_PROJECT_FILE
from .plugin import _plugin_lookup
from .sandbox import SandboxRemote
Loading