| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -3756,15 +3756,15 @@ Relative targets are relative to the link’s parent directory. | |||
| 3756 | 3756 | ```mjs | |
| 3757 | 3757 | import { symlink } from 'fs'; | |
| 3758 | 3758 | ||
| 3759 | - symlink('./mew', './example/mewtwo', callback); | ||
| 3759 | + symlink('./mew', './mewtwo', callback); | ||
| 3760 | 3760 | ``` | |
| 3761 | 3761 | ||
| 3762 | - The above example creates a symbolic link `mewtwo` in the `example` which points | ||
| 3763 | - to `mew` in the same directory: | ||
| 3762 | + The above example creates a symbolic link `mewtwo` which points to `mew` in the | ||
| 3763 | + same directory: | ||
| 3764 | 3764 | ||
| 3765 | 3765 | ```bash | |
| 3766 | - $ tree example/ | ||
| 3767 | - example/ | ||
| 3766 | + $ tree . | ||
| 3767 | + . | ||
| 3768 | 3768 | ├── mew | |
| 3769 | 3769 | └── mewtwo -> ./mew | |
| 3770 | 3770 | ``` | |
| Back | FazBrowse Home | New Git URL |
0 commit comments