-
Notifications
You must be signed in to change notification settings - Fork 38
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(job_attachments)!: Add OS-specific FileSystemPermissionSettings …
…classes (#41) BREAKING CHANGE: - Separates the `FileSystemPermissionSettings` class into two distinct types - one for Posix, and one for Windows to better accommodate OS-specific permission handling. So, added two new classes: - `PosixFileSystemPermissionSettings`: it is actually identical to the previous FileSystemPermissionSettings class, with the name being the only change to explicitly indicate the OS, Posix. - `WindowsFileSystemPermissionSettings`: A placeholder class for Windows. Will be implemented in a follow-up PR. - The `FileSystemPermissionSettings` is now the Union type of those two classes. - When changing the file ownership/permissions, internally checks what kind of permission settings it is using `isinstance()` checks. Signed-off-by: Gahyun Suh <[email protected]> Co-authored-by: Gahyun Suh <[email protected]>
- Loading branch information
Showing
4 changed files
with
59 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters