@@ -15,13 +15,13 @@ rename :: forall eff. FilePath -> FilePath -> Callback eff Unit -> Eff (fs :: FS
1515#### ` truncate `
1616
1717``` purescript
18- truncate :: forall eff. FilePath -> Number -> Callback eff Unit -> Eff (fs :: FS | eff) Unit
18+ truncate :: forall eff. FilePath -> Int -> Callback eff Unit -> Eff (fs :: FS | eff) Unit
1919```
2020
2121#### ` chown `
2222
2323``` purescript
24- chown :: forall eff. FilePath -> Number -> Number -> Callback eff Unit -> Eff (fs :: FS | eff) Unit
24+ chown :: forall eff. FilePath -> Int -> Int -> Callback eff Unit -> Eff (fs :: FS | eff) Unit
2525```
2626
2727#### ` chmod `
@@ -105,7 +105,7 @@ utimes :: forall eff. FilePath -> Date -> Date -> Callback eff Unit -> Eff (fs :
105105#### ` readFile `
106106
107107``` purescript
108- readFile :: forall eff. FilePath -> Callback eff Buffer -> Eff (fs :: FS | eff) Unit
108+ readFile :: forall eff. FilePath -> Callback (buffer :: BUFFER | eff) Buffer -> Eff (buffer :: BUFFER, fs :: FS | eff) Unit
109109```
110110
111111#### ` readTextFile `
@@ -117,7 +117,7 @@ readTextFile :: forall eff. Encoding -> FilePath -> Callback eff String -> Eff (
117117#### ` writeFile `
118118
119119``` purescript
120- writeFile :: forall eff. FilePath -> Buffer -> Callback eff Unit -> Eff (fs :: FS | eff) Unit
120+ writeFile :: forall eff. FilePath -> Buffer -> Callback (buffer :: BUFFER | eff) Unit -> Eff (buffer :: BUFFER, fs :: FS | eff) Unit
121121```
122122
123123#### ` writeTextFile `
@@ -129,7 +129,7 @@ writeTextFile :: forall eff. Encoding -> FilePath -> String -> Callback eff Unit
129129#### ` appendFile `
130130
131131``` purescript
132- appendFile :: forall eff. FilePath -> Buffer -> Callback eff Unit -> Eff (fs :: FS | eff) Unit
132+ appendFile :: forall eff. FilePath -> Buffer -> Callback (buffer :: BUFFER | eff) Unit -> Eff (buffer :: BUFFER, fs :: FS | eff) Unit
133133```
134134
135135#### ` appendTextFile `
@@ -144,4 +144,40 @@ appendTextFile :: forall eff. Encoding -> FilePath -> String -> Callback eff Uni
144144exists :: forall eff. FilePath -> (Boolean -> Eff (fs :: FS | eff) Unit) -> Eff (fs :: FS | eff) Unit
145145```
146146
147+ #### ` fdOpen `
148+
149+ ``` purescript
150+ fdOpen :: forall eff. FilePath -> FileFlags -> Maybe FileMode -> Callback eff FileDescriptor -> Eff (fs :: FS | eff) Unit
151+ ```
152+
153+ #### ` fdRead `
154+
155+ ``` purescript
156+ fdRead :: forall eff. FileDescriptor -> Buffer -> BufferOffset -> BufferLength -> Maybe FilePosition -> Callback (buffer :: BUFFER | eff) ByteCount -> Eff (buffer :: BUFFER, fs :: FS | eff) Unit
157+ ```
158+
159+ #### ` fdNext `
160+
161+ ``` purescript
162+ fdNext :: forall eff. FileDescriptor -> Buffer -> Callback (buffer :: BUFFER | eff) ByteCount -> Eff (buffer :: BUFFER, fs :: FS | eff) Unit
163+ ```
164+
165+ #### ` fdWrite `
166+
167+ ``` purescript
168+ fdWrite :: forall eff. FileDescriptor -> Buffer -> BufferOffset -> BufferLength -> Maybe FilePosition -> Callback (buffer :: BUFFER | eff) ByteCount -> Eff (buffer :: BUFFER, fs :: FS | eff) Unit
169+ ```
170+
171+ #### ` fdAppend `
172+
173+ ``` purescript
174+ fdAppend :: forall eff. FileDescriptor -> Buffer -> Callback (buffer :: BUFFER | eff) ByteCount -> Eff (buffer :: BUFFER, fs :: FS | eff) Unit
175+ ```
176+
177+ #### ` fdClose `
178+
179+ ``` purescript
180+ fdClose :: forall eff. FileDescriptor -> Callback eff Unit -> Eff (fs :: FS | eff) Unit
181+ ```
182+
147183
0 commit comments