Used to retrieve the repository artifact in whose context the script is running. If the script is running on the desktop, this is the file system.
Example using getRepository():
var repLocal = env.getRepository();