]> OzVa Git service - ozva-cloud/commit
fix: follow symlinks when searching/archiving (#572)
authorFalko Galperin <10247603+falko17@users.noreply.github.com>
Sat, 12 Apr 2025 01:49:19 +0000 (03:49 +0200)
committerGitHub <noreply@github.com>
Sat, 12 Apr 2025 01:49:19 +0000 (09:49 +0800)
commit8a92a0cf1a1f2cd2341cb118e811d5f12177a8c3
tree74586ea693ae9a8a82b362440cafe35469435cb1
parent59685da06e8797ef8089a7cf3ac72ba6bdcac68d
fix: follow symlinks when searching/archiving (#572)

Specifically, this will always follow symlinks when they lead to a path
below the dufs root, and will follow other symlinks when
`--allow-symlink` is set.

I refactored some common functionality out of `zip_dir` and
`handle_search_dir` as well.
src/server.rs