Back to Superfile

Backend Package

src/internal/backend/README.md

1.5.0629 B
Original Source

Backend Package

Handles operations on the User's OS. For example, executing shell commands, performing file operations on user's files... Reading OS-specific configurations like disk partitions.

The name 'backend' isn't the most appropriate, open to suggestions. This would modularize the code, and would enable us to write unit tests where we would 'mock' the backend functionality with dummy interface implementations

Dependencies

Should not import any "ui" package Can import common and its subpackages

Implementation specifications

Try to implement everything via interfaces, so that we can easily write unit tests