summaryrefslogtreecommitdiff
path: root/src/rebar_file_utils.erl
diff options
context:
space:
mode:
authorTuncer Ayaz <tuncer.ayaz@gmail.com>2011-03-10 15:07:41 +0100
committerTuncer Ayaz <tuncer.ayaz@gmail.com>2011-03-28 18:39:38 +0200
commit6d75bfbeb0c981e25c1b30b481118ea52a3b377e (patch)
treee8a311712291c0290b908f2d2f83ab9ed00a56ec /src/rebar_file_utils.erl
parent68f47435636cb72e6088fb68eacf5aad764f13cd (diff)
Clean up specs
Diffstat (limited to 'src/rebar_file_utils.erl')
-rw-r--r--src/rebar_file_utils.erl7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/rebar_file_utils.erl b/src/rebar_file_utils.erl
index 731f9d9..56877e3 100644
--- a/src/rebar_file_utils.erl
+++ b/src/rebar_file_utils.erl
@@ -39,8 +39,7 @@
%% @doc Remove files and directories.
%% Target is a single filename, directoryname or wildcard expression.
-%% @spec rm_rf(string()) -> ok
--spec rm_rf(Target::string()) -> ok.
+-spec rm_rf(Target::file:filename()) -> ok.
rm_rf(Target) ->
case os:type() of
{unix, _} ->
@@ -56,7 +55,7 @@ rm_rf(Target) ->
ok
end.
--spec cp_r(Sources::list(string()), Dest::string()) -> ok.
+-spec cp_r(Sources::list(string()), Dest::file:filename()) -> ok.
cp_r(Sources, Dest) ->
case os:type() of
{unix, _} ->
@@ -69,7 +68,7 @@ cp_r(Sources, Dest) ->
ok
end.
--spec mv(Source::string(), Dest::string()) -> ok.
+-spec mv(Source::string(), Dest::file:filename()) -> ok.
mv(Source, Dest) ->
case os:type() of
{unix, _} ->