diff options
Diffstat (limited to 'src/perm.erl')
-rw-r--r-- | src/perm.erl | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/perm.erl b/src/perm.erl index c386d08..9f02b55 100644 --- a/src/perm.erl +++ b/src/perm.erl @@ -74,7 +74,7 @@ ensurefile(Rootdir, Key, Content) -> util:exit_with_error(Error, readfile, "Error reading file") end. --spec readfile(string(), binary()) -> binary(). +-spec readfile(string(), binary()) -> binary() | noentry. readfile(Rootdir, Key) -> {_Dirs, Path} = path_for_key(Rootdir, Key), atomic:readfile(Path). |