Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Butler.Service.FileService
Synopsis
- data VolumeName
- getVolumeDirectory :: AppSharedContext -> Maybe VolumeName -> ProcessIO Directory
- fileService :: Service
- filesUploadButton :: Monad m => WinID -> FileLoc -> HtmlT m ()
Documentation
data VolumeName #
VolumeName
is the name of a root directory, e.g. Documents or Desktop
Instances
IsString VolumeName # | |
Defined in Butler.Service.FileService Methods fromString :: String -> VolumeName # |
getVolumeDirectory :: AppSharedContext -> Maybe VolumeName -> ProcessIO Directory #
getVolumeDirectory
enables app to get access to the File API.
fileService :: Service #