Skip to content
Snippets Groups Projects
Commit 140c062f authored by Abhay Menon's avatar Abhay Menon
Browse files

Merge branch 'File-management-for-console-app' into 'main'

Removed println functions from filemanager

See merge request !9
parents e99e6264 289e04d6
No related branches found
No related tags found
2 merge requests!12Merge branch 'main' to 'viewfile',!9Removed println functions from filemanager
Pipeline #84111 passed
This commit is part of merge request !12. Comments created here will be created in the context of that merge request.
...@@ -41,9 +41,6 @@ class Filemanager(private val dir: String, private val name: String) { ...@@ -41,9 +41,6 @@ class Filemanager(private val dir: String, private val name: String) {
fun deletefile():Boolean { fun deletefile():Boolean {
listfiles.remove(filepath) listfiles.remove(filepath)
for (i in listfiles) {
println("Not Deleted!")
}
return filepath.delete() return filepath.delete()
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment