mirror of
https://github.com/hexahigh/cdn.git
synced 2025-12-11 20:15:22 +01:00
1 line
268 B
JavaScript
1 line
268 B
JavaScript
const fs=require("fs");var AX={copy:function(a,b){fs.writeFileSync(b,fs.readFileSync(a),function(a){if(a)throw a;console.log("Successfully copied file!")})},move:function(a,b){fs.rename(a,b,function(a){if(a)throw a;console.log("Successfully moved - AKA renamed!")})}}; |