Skip to content

scivision/symlink-examples

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Symbolic link checks

ci

Checking for platform-specific issues with symbolic links using Python pathlib, a robust high-level Python standard library interface that works on any platform.

C++ filesystem symbolic links are demonstrated in ffilesystem-concepts.

Windows symlinks

Python ≥ 3.8 is generally required to work with symbolic links on Windows. Additionally, either group permissions (Windows Pro) or Developer Mode (Windows non-Pro) need to be enabled for non-admin users to use symbolic links on Windows in general (even without Python). To help avoid confusing error messages, we use functions from test_symlink.py in our programs to help ensure meaningful error messages are generated if necessary symbolic links are not available.

Enable Windows symbolic links by enabling Windows developer mode.