summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Radestock <matthias@rabbitmq.com>2011-09-22 00:27:21 +0100
committerMatthias Radestock <matthias@rabbitmq.com>2011-09-22 00:27:21 +0100
commit55170c6ad8430d46e4f4a60c2af877e955ec53cc (patch)
tree0a0d13b0366085a47379056cede5f00a6dda9e28
parent88ab73da4acbe93803b989d4413db264cd42858d (diff)
downloadrabbitmq-server-bug24386.tar.gz
get the spec of list_dir right at lastbug24386
-rw-r--r--src/rabbit_file.erl4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/rabbit_file.erl b/src/rabbit_file.erl
index 1725c176..1d5b42b7 100644
--- a/src/rabbit_file.erl
+++ b/src/rabbit_file.erl
@@ -35,8 +35,8 @@
-spec(file_size/1 :: ((file:filename())) -> non_neg_integer()).
-spec(ensure_dir/1 :: ((file:filename())) -> ok_or_error()).
-spec(wildcard/2 :: (string(), file:filename()) -> [file:filename()]).
--spec(list_dir/1 ::
- (file:filename()) -> rabbit_types:ok_or_error([file:filename()], any())).
+-spec(list_dir/1 :: (file:filename()) -> rabbit_types:ok_or_error2(
+ [file:filename()], any())).
-spec(read_term_file/1 ::
(file:filename()) -> {'ok', [any()]} | rabbit_types:error(any())).
-spec(write_term_file/2 :: (file:filename(), [any()]) -> ok_or_error()).