Verified Commit 517a227f authored by AtjonTV's avatar AtjonTV

Files: Remove status code from Directory2.DirectoryError Enum

parent 8fc11011
......@@ -16,6 +16,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
- kSock (`klib.net.socket.kSock`)
- Directory (`klib.files.Directory`)
- `asDirectory` extension for File
- Status number from `klib.files.Directory2.DirectoryError`
### Fixed
### Security
......
......@@ -210,9 +210,9 @@ class Directory2(val path: String) {
* 1 means Not allowed to Override File
* 2 means Not allowed to Override Directory
*/
enum class DirectoryError(status: Int) {
None(0), // No Error occurred, everything is fine
FileKnownButOverrideDisallowed(1),
DirectoryKnownButOverrideDisallowed(2)
enum class DirectoryError {
None, // No Error occurred, everything is fine
FileKnownButOverrideDisallowed,
DirectoryKnownButOverrideDisallowed
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment