code: public static String path(String value) {
          return value != null ? LinkUtil.encodePath(value) : null;
      }
docs: Returns the encoded path of a of a repository path.
  
  @param value the path to encode
  @return the encoded path