Josh Creek
314cec2ac2
refactor(*): Split repository name into a separate variable to make it more readable
2021-08-29 23:41:36 +01:00
Josh Creek
85c8769631
refactor(*): Refactor GetFileRepository to simplify the factory class and handle bad repository types
...
Thanks to the enum it shouldn't be possible for there to be a bad repository type passed as an argument to this method, but this will handle it just in case.
2021-08-29 23:40:04 +01:00
Josh Creek
7039886034
feat(*): Add GetFileRepository method
...
Not currently working as I need to add at least one repository implementation and a method to select it based on the enum value.
2021-08-29 23:32:13 +01:00
Josh Creek
8b1618eec7
feat(*): Add RepositoryType enum
2021-08-29 23:30:20 +01:00
Josh Creek
57acb1d652
feat(*): Add base Factory class
2021-08-29 23:29:57 +01:00