mirror of
				https://github.com/janet-lang/janet
				synced 2025-10-31 15:43:01 +00:00 
			
		
		
		
	Make rmrf stronger.
This commit is contained in:
		| @@ -4030,10 +4030,11 @@ | ||||
|     "rm -rf in janet" | ||||
|     [x] | ||||
|     (case (os/stat x :mode) | ||||
|       :file (os/rm x) | ||||
|       nil nil | ||||
|       :directory (do | ||||
|                    (each y (os/dir x) (rmrf (string x "/" y))) | ||||
|                    (os/rmdir x))) | ||||
|                    (os/rmdir x)) | ||||
|       (os/rm x)) | ||||
|     nil) | ||||
|  | ||||
|   (defn- copyfile | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 Calvin Rose
					Calvin Rose