This repository was archived by the owner on Aug 4, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed
Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ Rename a file.
1313#### ` truncate `
1414
1515``` purescript
16- truncate :: forall eff. FilePath -> Number -> Aff (fs :: FS | eff) Unit
16+ truncate :: forall eff. FilePath -> Int -> Aff (fs :: FS | eff) Unit
1717```
1818
1919
@@ -23,7 +23,7 @@ Truncates a file to the specified length.
2323#### ` chown `
2424
2525``` purescript
26- chown :: forall eff. FilePath -> Number -> Number -> Aff (fs :: FS | eff) Unit
26+ chown :: forall eff. FilePath -> Int -> Int -> Aff (fs :: FS | eff) Unit
2727```
2828
2929
@@ -164,7 +164,7 @@ Sets the accessed and modified times for the specified file.
164164#### ` readFile `
165165
166166``` purescript
167- readFile :: forall eff. FilePath -> Aff (fs :: FS | eff) Buffer
167+ readFile :: forall eff. FilePath -> Aff (fs :: FS, buffer :: BUFFER | eff) Buffer
168168```
169169
170170
@@ -184,7 +184,7 @@ Reads the entire contents of a text file with the specified encoding.
184184#### ` writeFile `
185185
186186``` purescript
187- writeFile :: forall eff. FilePath -> Buffer -> Aff (fs :: FS | eff) Unit
187+ writeFile :: forall eff. FilePath -> Buffer -> Aff (fs :: FS, buffer :: BUFFER | eff) Unit
188188```
189189
190190
@@ -204,7 +204,7 @@ Writes text to a file using the specified encoding.
204204#### ` appendFile `
205205
206206``` purescript
207- appendFile :: forall eff. FilePath -> Buffer -> Aff (fs :: FS | eff) Unit
207+ appendFile :: forall eff. FilePath -> Buffer -> Aff (fs :: FS, buffer :: BUFFER | eff) Unit
208208```
209209
210210
You can’t perform that action at this time.
0 commit comments