Skip to content

Conversation

@ColmBhandal
Copy link
Owner

Description

Refactored File and Directory Facades & decorators. Updated File creation to throw exception if directory already exists.

… with decorator

It was overkill having "Facade" and "Decorator" classes
Decorator alone is enough for now
Introduced a file wrapper class to abstract file decorator away from static methods
Mocking out the file wrapper class & directory decorator in the test
@ColmBhandal ColmBhandal merged commit 5013652 into develop Nov 8, 2021
@ColmBhandal ColmBhandal deleted the bugfix/94/file-ovewrite-dir-exception branch November 8, 2021 11:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

UnauthorizedAccessException Creating File when Target Path is Directory

3 participants