Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

MAK-Relic-Tool/Issue-Tracker#39 Hotfix #11

Merged
merged 1 commit into from
Oct 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/relic/sga/core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
"""
from relic.sga.core.definitions import Version, MagicWord, StorageType, VerificationType

__version__ = "1.1.0"
__version__ = "1.1.1"
11 changes: 11 additions & 0 deletions src/relic/sga/core/filesystem.py
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,8 @@
from fs.opener import Opener, registry as fs_registry
from fs.opener.parse import ParseResult
from fs.path import split
from fs.permissions import Permissions
from fs.subfs import SubFS

from relic.sga.core.definitions import Version, MagicWord, _validate_magic_word
from relic.sga.core.errors import VersionNotSupportedError
Expand Down Expand Up @@ -293,6 +295,15 @@ def setinfo(self, path: str, info: Mapping[str, Mapping[str, object]]) -> None:
def getessence(self, path: str) -> Info:
return self.getinfo(path, [ESSENCE_NAMESPACE])

def makedirs(
self,
path, # type: Text
permissions=None, # type: Optional[Permissions]
recreate=False, # type: bool
): # type: (...) -> SubFS[FS]
_path = path.replace("\\", "/") # Coerce path seperator
return super().makedirs(_path, permissions, recreate)


class EssenceFS(MultiFS):
def __init__(self) -> None:
Expand Down