public FtpFile getWorkingDirectory()

in pekko-connectors-sample-ftp-to-file/src/main/java/playground/filesystem/impl/JimfsView.java [89:98]


    public FtpFile getWorkingDirectory() throws FtpException {
        FtpFile fileObj;
        if (currDir.equals("/")) {
            fileObj = getHomeDirectory();
        } else {
            Path path = fileSystem.getPath(rootDir, currDir.substring(1));
            fileObj = new JimfsFtpFile(currDir, path, user);
        }
        return fileObj;
    }