Skip to content

Commit

Permalink
docs: add missing SFTP OpenSSH extension functions
Browse files Browse the repository at this point in the history
  • Loading branch information
mscdex committed Sep 7, 2021
1 parent cde0b02 commit 25ac88a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions SFTP.md
Original file line number Diff line number Diff line change
Expand Up @@ -339,6 +339,10 @@ SFTP methods

* **ext_openssh_fsync**(< _Buffer_ >handle, < _function_ >callback) - _(void)_ - **OpenSSH extension** Performs POSIX fsync(3) on the open handle `handle`. `callback` has 1 parameter: < _Error_ >err.

* **ext_openssh_lsetstat**(< _string_ >path, < _ATTRS_ >attributes, < _function_ >callback) - _(void)_ - **OpenSSH extension** Similar to `setstat()`, but instead sets attributes on symlinks. `callback` has 1 parameter: < _Error_ >err.

* **ext_openssh_expandPath**(< _string_ >path, < _function_ >callback) - _(void)_ - **OpenSSH extension** Similar to `realpath()`, but supports tilde-expansion, i.e. "~", "~/..." and "~user/...". These paths are expanded using shell-like rules. `callback` has 2 parameters: < _Error_ >err, < _string_ >absPath.


**Server-only methods**

Expand Down

0 comments on commit 25ac88a

Please sign in to comment.