|
115 | 115 |
|
116 | 116 | ### Values
|
117 | 117 |
|
118 |
| - appendFile :: forall eff. FilePath -> Buffer -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 118 | + appendFile :: forall eff. FilePath -> Buffer -> Eff (fs :: FS | eff) (Either String Unit) |
119 | 119 |
|
120 |
| - appendTextFile :: forall eff. Encoding -> FilePath -> String -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 120 | + appendTextFile :: forall eff. Encoding -> FilePath -> String -> Eff (fs :: FS | eff) (Either String Unit) |
121 | 121 |
|
122 |
| - chmod :: forall eff. FilePath -> Number -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 122 | + chmod :: forall eff. FilePath -> Number -> Eff (fs :: FS | eff) (Either String Unit) |
123 | 123 |
|
124 |
| - chown :: forall eff. FilePath -> Number -> Number -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 124 | + chown :: forall eff. FilePath -> Number -> Number -> Eff (fs :: FS | eff) (Either String Unit) |
125 | 125 |
|
126 |
| - link :: forall eff. FilePath -> FilePath -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 126 | + link :: forall eff. FilePath -> FilePath -> Eff (fs :: FS | eff) (Either String Unit) |
127 | 127 |
|
128 |
| - mkdir :: forall eff. FilePath -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 128 | + mkdir :: forall eff. FilePath -> Eff (fs :: FS | eff) (Either String Unit) |
129 | 129 |
|
130 |
| - mkdir' :: forall eff. FilePath -> Number -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 130 | + mkdir' :: forall eff. FilePath -> Number -> Eff (fs :: FS | eff) (Either String Unit) |
131 | 131 |
|
132 |
| - readFile :: forall eff. FilePath -> Eff (err :: Exception Error, fs :: FS | eff) Buffer |
| 132 | + readFile :: forall eff. FilePath -> Eff (fs :: FS | eff) (Either String Buffer) |
133 | 133 |
|
134 |
| - readTextFile :: forall eff. Encoding -> FilePath -> Eff (err :: Exception Error, fs :: FS | eff) String |
| 134 | + readTextFile :: forall eff. Encoding -> FilePath -> Eff (fs :: FS | eff) (Either String String) |
135 | 135 |
|
136 |
| - readdir :: forall eff. FilePath -> Eff (err :: Exception Error, fs :: FS | eff) [FilePath] |
| 136 | + readdir :: forall eff. FilePath -> Eff (fs :: FS | eff) (Either String [FilePath]) |
137 | 137 |
|
138 |
| - readlink :: forall eff. FilePath -> Eff (err :: Exception Error, fs :: FS | eff) FilePath |
| 138 | + readlink :: forall eff. FilePath -> Eff (fs :: FS | eff) (Either String FilePath) |
139 | 139 |
|
140 |
| - realpath :: forall eff. FilePath -> Eff (err :: Exception Error, fs :: FS | eff) FilePath |
| 140 | + realpath :: forall eff. FilePath -> Eff (fs :: FS | eff) (Either String FilePath) |
141 | 141 |
|
142 |
| - realpath' :: forall eff cache. FilePath -> { | cache } -> Eff (err :: Exception Error, fs :: FS | eff) FilePath |
| 142 | + realpath' :: forall eff cache. FilePath -> { | cache } -> Eff (fs :: FS | eff) (Either String FilePath) |
143 | 143 |
|
144 |
| - rename :: forall eff. FilePath -> FilePath -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 144 | + rename :: forall eff. FilePath -> FilePath -> Eff (fs :: FS | eff) (Either String Unit) |
145 | 145 |
|
146 |
| - rmdir :: forall eff. FilePath -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 146 | + rmdir :: forall eff. FilePath -> Eff (fs :: FS | eff) (Either String Unit) |
147 | 147 |
|
148 |
| - stat :: forall eff. FilePath -> Eff (err :: Exception Error, fs :: FS | eff) Stats |
| 148 | + stat :: forall eff. FilePath -> Eff (fs :: FS | eff) (Either String Stats) |
149 | 149 |
|
150 |
| - symlink :: forall eff. FilePath -> FilePath -> SymlinkType -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 150 | + symlink :: forall eff. FilePath -> FilePath -> SymlinkType -> Eff (fs :: FS | eff) (Either String Unit) |
151 | 151 |
|
152 |
| - truncate :: forall eff. FilePath -> Number -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 152 | + truncate :: forall eff. FilePath -> Number -> Eff (fs :: FS | eff) (Either String Unit) |
153 | 153 |
|
154 |
| - unlink :: forall eff. FilePath -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 154 | + unlink :: forall eff. FilePath -> Eff (fs :: FS | eff) (Either String Unit) |
155 | 155 |
|
156 |
| - utimes :: forall eff. FilePath -> Date -> Date -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 156 | + utimes :: forall eff. FilePath -> Date -> Date -> Eff (fs :: FS | eff) (Either String Unit) |
157 | 157 |
|
158 |
| - writeFile :: forall eff. FilePath -> Buffer -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 158 | + writeFile :: forall eff. FilePath -> Buffer -> Eff (fs :: FS | eff) (Either String Unit) |
159 | 159 |
|
160 |
| - writeTextFile :: forall eff. Encoding -> FilePath -> String -> Eff (err :: Exception Error, fs :: FS | eff) Unit |
| 160 | + writeTextFile :: forall eff. Encoding -> FilePath -> String -> Eff (fs :: FS | eff) (Either String Unit) |
0 commit comments