Skip to content

Commit

Permalink
Update src/std/fs.ab
Browse files Browse the repository at this point in the history
Co-authored-by: Phoenix Himself <[email protected]>
  • Loading branch information
Mte90 and Ph0enixKM authored Jul 10, 2024
1 parent 66d864b commit 486f6d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/std/fs.ab
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,9 @@ pub fun file_write(path, content) {

pub fun file_append(path, content) {
return $echo "{content}" >> "{path}"$?
}pub fun create_symbolic_link(origin: Text, destination: Text): Bool {
}

pub fun create_symbolic_link(origin: Text, destination: Text): Bool {
if file_exist(origin) {
unsafe $ln -s "{origin}" "{destination}"$
return true
Expand Down

0 comments on commit 486f6d0

Please sign in to comment.