Initial import

This commit is contained in:
2026-08-17 23:19:13 +02:00
parent 8210aa8e63
commit 1d546c3d6f
20 changed files with 1799 additions and 1 deletions
+17
View File
@@ -0,0 +1,17 @@
#lang racket/base
(require racket/format
racket/path
racket/string)
(provide path->rash-string)
(define (path->rash-string path)
(define text
(cond
[(path? path) (path->string path)]
[(string? path) path]
[else (path->string (string->path (~a path)))]))
(if (eq? (system-type 'os) 'windows)
(string-replace text "\\" "/")
text))