yazi-rs / yazi-rs.github.io

Documentation site for Yazi.
https://yazi-rs.github.io
MIT License
19 stars 68 forks source link

docs: add Ape's plugins to resources #100

Closed Ape closed 2 months ago

sxyazi commented 2 months ago

Out of curiosity, why do we need reflink.yazi? When Yazi copies files, it should automatically reflink if available.

Ape commented 2 months ago

Out of curiosity, why do we need reflink.yazi? When Yazi copies files, it should automatically reflink if available.

Oh, I think you are right. Well, sometimes it might be useful to be sure a reflink is happening. The default copy might fallback to a regular copy operation if the filesystem doesn't support it or when copying to a different filesystem.

EDIT: Hmm. The default copy in Yazi seems to make a reflink, but for some reason it's still significantly slower than using the reflink plugin. I guess the reflink command is just taking the whole file in one operation and the copy is doing it in blocks of data.