code: @Override
      public UnixSshPath getParent() {
          //if ( parts.length == 0 && !isAbsolute() ) {
          if ( parts.length == 0 || ( parts.length == 1 && !isAbsolute() ) ) {
              return null;
          }
          if ( parts.length <= 1 ) {
              return new UnixSshPath( getFileSystem(), isAbsolute() );
          }
          return new UnixSshPath( getFileSystem(), isAbsolute(),
                  Arrays.copyOfRange( parts, 0, parts.length - 1 ) );
      }
docs: {@inheritDoc}