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