Skip to content

Commit

Permalink
Rewritten sftp api (#1167)
Browse files Browse the repository at this point in the history
* Rewritten sftp api and architecture

- using native sftp api for sftp fs operation
  - [x] lsDir
  - [x] stat
  - [x] read/write
  - [x] delete(rm)
  - [x] mkdir
  - [ ] rename
  - [ ] move
  - [ ] copy

- better symlink support
- better error handling
- better buffer handling for video etc
- some performance improvement
- fix: show info dialog issue because of non editor tab
- [ ] better visuals for symlinks etc in file browser
- [x] emoji/unicode support in sftp
- [ ] add ssh terminal api for terminal support

* bug fixes and added rename, move api

- [x] rename, move fs api
- [] copy (broken)
- skip listing . and .. in lsdir
- proper exists check in stat
- some cleanups

* feat: improved copy api

* feat: copy api and file browser ui tweaks

* handle errors and failures

* chore: update ssh lib to 3.1.2 from 3.0.6

- updated ssh library
- few bug fixes
- removed deprecated apis
- experimental logging of native logs in js logger

* feat: detect binary file without reading it

* fix: logger
  • Loading branch information
bajrangCoder authored Feb 5, 2025
1 parent f518deb commit 186b166
Show file tree
Hide file tree
Showing 16 changed files with 1,692 additions and 1,254 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@
.DS_Store
pnpm-lock.yaml
.zed
.idea
Loading

0 comments on commit 186b166

Please sign in to comment.