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;
    }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



pekko-connectors-sample-rotate-logs-to-ftp/src/main/java/playground/filesystem/impl/JimfsView.java [87:96]:
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
  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;
  }
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -



