aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhilip Cristiano <[email protected]>2017-01-11 06:13:49 -0500
committerPhilip Cristiano <[email protected]>2017-01-12 17:46:34 -0500
commit3c5c1d70ec006e5b0b87dad0bf97a09e62e1e7c6 (patch)
tree7d2029c3ed695d4b9701dce4e643de91d0b64603
parent947e0e1176b5b985293e27164ee8e6912dee8133 (diff)
downloadotp-3c5c1d70ec006e5b0b87dad0bf97a09e62e1e7c6.tar.gz
otp-3c5c1d70ec006e5b0b87dad0bf97a09e62e1e7c6.tar.bz2
otp-3c5c1d70ec006e5b0b87dad0bf97a09e62e1e7c6.zip
ssh: Correct ssh_sftpd_file_api dialzyer spec
The `State` seems to have been included twice in 91acfc.
-rw-r--r--lib/ssh/src/ssh_sftpd_file_api.erl2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ssh/src/ssh_sftpd_file_api.erl b/lib/ssh/src/ssh_sftpd_file_api.erl
index 78f452df67..e444e52ac0 100644
--- a/lib/ssh/src/ssh_sftpd_file_api.erl
+++ b/lib/ssh/src/ssh_sftpd_file_api.erl
@@ -36,7 +36,7 @@
-callback list_dir(file:name(), State::term()) ->
{{ok, Filenames::term()}, State::term()} | {{error, Reason::term()}, State::term()}.
-callback make_dir(Dir::term(), State::term()) ->
- {{ok, State::term()},State::term()} | {{error, Reason::term()}, State::term()}.
+ {ok, State::term()} | {{error, Reason::term()}, State::term()}.
-callback make_symlink(Path2::term(), Path::term(), State::term()) ->
{ok, State::term()} | {{error, Reason::term()}, State::term()}.
-callback open(Path::term(), Flags::term(), State::term()) ->