public Path . Root getRepositoryRoot ( ) throws IOException { Path . Root root = environment . getGlobalRoot ( ) . createRelativeRoot ( REPOSITORY_PATH ) ; // TODO: create repository if it doesn't exist. return root ; }
Get the root of the package repository . This is the global directory in which all installed packages are found .