question: public VirtualFile resolve ( String path ) { if ( path . charAt ( 0 ) == '/' ) { String relativePath = path . substring ( 1 ) ; for ( File directory : directories ) { File file = FileUtil . openFile ( directory , relativePath ) ; if ( ( file != null ) && file . exists ( ) ) { return new LocalFile ( file ) ; } } } return null ; }
target:  Resolves paths with a leading slash and relative to a Source Path directory.