mirror of
https://github.com/neovim/neovim.git
synced 2026-07-21 08:31:47 +00:00
docs: news #38464
This commit is contained in:
@@ -1,4 +1,13 @@
|
||||
--- @brief <pre>help
|
||||
--- *vim.fs.copy()*
|
||||
--- Use |filecopy()| or |uv.fs_copyfile()| to performantly copy an existing file.
|
||||
---
|
||||
--- Example:
|
||||
---
|
||||
--- >lua
|
||||
--- vim.fn.filecopy('foo.txt', 'bar.txt')
|
||||
--- <
|
||||
---
|
||||
--- *vim.fs.exists()*
|
||||
--- Use |uv.fs_stat()| to check a file's type, and whether it exists.
|
||||
---
|
||||
|
||||
Reference in New Issue
Block a user