Skip to content

Deduplicate pathToVault.resolve("d").resolve("xx").resolve("yyyyyy...y") #100

Open
@overheadhunter

Description

@overheadhunter

The expression pathToVault.resolve(Constants.DATA_DIR_NAME).resolve(dirHash.substring(0, 2)).resolve(dirHash.substring(2)) (or similar) is used in several places in this project. We should find a (clean!) way to deduplicate this (possibly including the dirHash calculation).

By "clean", I mean not just a new util class. Maybe we find some existing place, that can be injected (or is already present) in all required places.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions