EMILUA(3em)
π NAME π
okay so Emilua reference bestie, this is the EMILUA(3em) page, and Emilua - Lua execution engine is literally the name. That's the whole section β short, iconic, slay. π
β¨ SYNOPSIS β¨
here's the exact call shape, no cap:
local fs = require "filesystem"
fs.copy_file(from: fs.path, to: fs.path[, on_existing: "skip"|"overwrite"|"update"]) -> boolean
π¦ DESCRIPTION π¦
The description is giving βgo read the C++ reference, bestieβ: See https://en.cppreference.com/w/cpp/filesystem/copy_file. That's the whole official pointer β I'm not adding extra lore, fr fr.
πΈ on_existing πΈ
on_existing is the vibe check for when the file already exists. Behavior when the file already exists:
nilβ Report an error. π"skip"β Keep the existing file, without reporting an error. π«Ά"overwrite"β Replace the existing file. π₯"update"β Replace the existing file only if it is older than the file being copied. β
kisses bestie β this was EMILUA(3em) from the Emilua reference, source/version Emilua 0.12.1-nixpkgs1, dated 1980-01-01. π«Άπ
β¨
π¦ where this page comes from
- nixos 26.05: emilua 0.12.1
- nixpkgs unstable: emilua 0.12.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms