File tree 2 files changed +3
-7
lines changed
2 files changed +3
-7
lines changed Original file line number Diff line number Diff line change @@ -6,6 +6,8 @@ Notable changes to this project are documented in this file. The format is based
6
6
7
7
Breaking changes:
8
8
9
+ - Remove redundant/impure ` StatsObj ` methods (#72 by @ptrfrncsmrph )
10
+
9
11
New features:
10
12
11
13
Bugfixes:
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ module Node.FS.Stats
15
15
16
16
import Prelude
17
17
import Data.DateTime (DateTime )
18
- import Data.Function.Uncurried (Fn2 , Fn0 , runFn2 )
18
+ import Data.Function.Uncurried (Fn2 , runFn2 )
19
19
import Data.JSDate (JSDate , toDateTime )
20
20
import Data.Maybe (fromJust )
21
21
import Partial.Unsafe (unsafePartial )
@@ -32,12 +32,6 @@ type StatsObj =
32
32
, atime :: JSDate
33
33
, mtime :: JSDate
34
34
, ctime :: JSDate
35
- , isFile :: Fn0 Boolean
36
- , isDirectory :: Fn0 Boolean
37
- , isBlockDevice :: Fn0 Boolean
38
- , isCharacterDevice :: Fn0 Boolean
39
- , isFIFO :: Fn0 Boolean
40
- , isSocket :: Fn0 Boolean
41
35
}
42
36
43
37
-- | Stats wrapper to provide a usable interface to the underlying properties and methods.
You can’t perform that action at this time.
0 commit comments