mirror of
https://github.com/logos-storage/nim-datastore.git
synced 2026-01-08 08:33:10 +00:00
use proper os separator depending on OS
This commit is contained in:
parent
f9cfab5cbc
commit
17c4ff92a4
@ -29,11 +29,11 @@ const
|
|||||||
"/home",
|
"/home",
|
||||||
"/Users"]
|
"/Users"]
|
||||||
|
|
||||||
Allowed* =
|
Allowed* = {
|
||||||
toSeq('A'..'Z') &
|
'a'..'z',
|
||||||
toSeq('a'..'z') &
|
'A'..'Z',
|
||||||
toSeq('0'..'9') &
|
DirSep, AltSep,
|
||||||
toSeq(['/', '_', '-'])
|
'_', '-'}
|
||||||
|
|
||||||
type
|
type
|
||||||
FSDatastore* = ref object of Datastore
|
FSDatastore* = ref object of Datastore
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user