mirror of
https://github.com/wasp-lang/wasp.git
synced 2025-01-07 18:11:05 +03:00
15 lines
290 B
Haskell
15 lines
290 B
Haskell
module Wasp.Data
|
|
( DataDir,
|
|
getAbsDataDirPath,
|
|
)
|
|
where
|
|
|
|
import qualified Paths_waspc
|
|
import StrongPath (Abs, Dir, Path')
|
|
import qualified StrongPath as SP
|
|
|
|
data DataDir
|
|
|
|
getAbsDataDirPath :: IO (Path' Abs (Dir DataDir))
|
|
getAbsDataDirPath = Paths_waspc.getDataDir >>= SP.parseAbsDir
|