summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLinus Nordberg <linus@nordu.net>2017-02-16 15:28:43 +0100
committerLinus Nordberg <linus@nordu.net>2017-02-16 15:28:43 +0100
commit99a2f312d44c290c1156f4f8dbeaeb4a97181b0b (patch)
tree6e5374297d41b2e97547ac86d850abed3a59546e
parent8feab15047ea459eba1653b77157192f28ae5183 (diff)
Remove unused functions.
-rw-r--r--src/atomic.erl8
1 files changed, 1 insertions, 7 deletions
diff --git a/src/atomic.erl b/src/atomic.erl
index 580fd17..36fba81 100644
--- a/src/atomic.erl
+++ b/src/atomic.erl
@@ -2,7 +2,7 @@
%%% See LICENSE for licensing information.
-module(atomic).
--export([replacefile/2, readfile/1, openfile/2, readline/1]).
+-export([replacefile/2, readfile/1]).
-spec replacefile(string(), binary()) -> ok.
replacefile(Path, Content) ->
@@ -20,9 +20,3 @@ readfile(Path) ->
{error, Error} ->
util:exit_with_error(readfile, Error, "Error reading file")
end.
-
-openfile(Path, Modes) ->
- file:open(Path, Modes).
-
-readline(IoDevice) ->
- file:read_line(IoDevice).