How to model items stored in a Git repo in Ash?

,

Hi,

I am new to ash. I have an application that stores things in Git, ie. I have a Project Resource and files for that Project is stored in a local git repository on disk.

I was wondering how to model this in Ash, so e.g. when a Project is created, the Git repository is initialized and files are added to it.

I have been considering if it should be a custom DataLayer, or it should be implemented as manual actions.

Advice is very welcome.

Writing a custom data layer can be complex, and should primarily be reserved for things that are in the “generic”. I.e could you store “any kind of thing” in it, or not. Like a CSV could house any kind of data. So I would suggest using manual actions :slight_smile:

1 Like

Ok Thanks!