diff options
author | Jim MacArthur <jim.macarthur@codethink.co.uk> | 2018-05-21 18:03:50 +0100 |
---|---|---|
committer | Jim MacArthur <jim.macarthur@codethink.co.uk> | 2018-07-05 14:07:43 +0100 |
commit | 6fee0923adc723d2bd51d1d4bc25b0e01533900d (patch) | |
tree | 6ecc09ef0ff20e261ec71ba98ce5421bd9defb19 | |
parent | 1e82e98676ef3a2f095cd7b627defc7663dfec02 (diff) | |
download | buildstream-6fee0923adc723d2bd51d1d4bc25b0e01533900d.tar.gz |
Move virtual directory components to 'storage' module
-rw-r--r-- | buildstream/element.py | 4 | ||||
-rw-r--r-- | buildstream/sandbox/sandbox.py | 2 | ||||
-rw-r--r-- | buildstream/storage/_filebaseddirectory.py (renamed from buildstream/sandbox/_filebaseddirectory.py) | 2 | ||||
-rw-r--r-- | buildstream/storage/directory.py (renamed from buildstream/sandbox/Directory.py) | 0 |
4 files changed, 4 insertions, 4 deletions
diff --git a/buildstream/element.py b/buildstream/element.py index 8dea76758..6f06cbb1c 100644 --- a/buildstream/element.py +++ b/buildstream/element.py @@ -96,8 +96,8 @@ from . import _site from ._platform import Platform from .sandbox._config import SandboxConfig -from .sandbox.Directory import Directory -from .sandbox._filebaseddirectory import FileBasedDirectory, VirtualDirectoryError +from .storage.directory import Directory +from .storage._filebaseddirectory import FileBasedDirectory, VirtualDirectoryError # _KeyStrength(): diff --git a/buildstream/sandbox/sandbox.py b/buildstream/sandbox/sandbox.py index 68e6b13b2..f3cab41ec 100644 --- a/buildstream/sandbox/sandbox.py +++ b/buildstream/sandbox/sandbox.py @@ -30,7 +30,7 @@ See also: :ref:`sandboxing`. import os from .._exceptions import ImplError, BstError -from ._filebaseddirectory import FileBasedDirectory +from ..storage._filebaseddirectory import FileBasedDirectory class SandboxFlags(): diff --git a/buildstream/sandbox/_filebaseddirectory.py b/buildstream/storage/_filebaseddirectory.py index 50dca573b..60379eaed 100644 --- a/buildstream/sandbox/_filebaseddirectory.py +++ b/buildstream/storage/_filebaseddirectory.py @@ -34,7 +34,7 @@ import calendar import os import time from .._exceptions import BstError, ErrorDomain -from .Directory import Directory +from .directory import Directory from ..utils import link_files, copy_files, FileListResult, list_relative_paths from ..utils import _set_deterministic_user, _set_deterministic_mtime diff --git a/buildstream/sandbox/Directory.py b/buildstream/storage/directory.py index f37fb98ad..f37fb98ad 100644 --- a/buildstream/sandbox/Directory.py +++ b/buildstream/storage/directory.py |