Skip to content
This repository was archived by the owner on Jan 7, 2022. It is now read-only.
This repository was archived by the owner on Jan 7, 2022. It is now read-only.

Support for external .dat folder #200

@cwi-ezoutas

Description

@cwi-ezoutas

Not much as an issue but an enhancement.
Support for external .dat folders.
Concept is that the folder /repository should be intact.

So multiple dat share would be:
dat://123091857404987294873298 (/repository/MathConA/)
dat://049872874982498273483274 (/repository/MathConB/)

The created directories /repository/MathConA/.dat and /repository/MathConB/.dat are a problem since many client programs are scanning folders that are not used from the application and automatically deletes them.

So is it possible to expose where the .dat folder will be?
And create:
/datMetadata/MathConA/ (this will be the .dat for /repository/MathConA/)
/datMetadata/MathConB/ (this will be the .dat for /repository/MathConB/)

The command of the share should be:
dat share /repository/MathConA/ --external-dat /datMetadata/MathConA/
and for cloning/downloading on clients
dat clone dat://123091857404987294873298 /repository/MathConA/ --external-dat /datMetadata/MathConA/

This should be sufficient in order not to add folders and data not relevant with the data that you want to share.

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