We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 28e25f0 commit 0fd6f26Copy full SHA for 0fd6f26
src/main/java/org/gitlab4j/api/models/Project.java
@@ -646,4 +646,15 @@ public static final boolean isValid(Project project) {
646
public String toString() {
647
return (JacksonJson.toJsonString(this));
648
}
649
+
650
+ /**
651
+ * Formats a fully qualified project path based on the provided namespace and project path.
652
+ *
653
+ * @param namespace the namespace, either a user name or group name
654
+ * @param path the project path
655
+ * @return a fully qualified project path based on the provided namespace and project path
656
+ */
657
+ public static final String getPathWithNammespace(String namespace, String path) {
658
+ return (namespace.trim() + "/" + path.trim());
659
+ }
660
0 commit comments