Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for listRemotes (0.4 seconds)

  1. build-tools-internal/src/main/java/org/elasticsearch/gradle/internal/release/GitWrapper.java

        public GitWrapper(ExecOperations execOperations) {
            this.execOperations = execOperations;
        }
    
        /**
         * @return a mapping from remote names to remote URLs.
         */
        public Map<String, String> listRemotes() {
            return runCommand("git", "remote", "-v").lines()
                .filter(l -> l.contains("(fetch)"))
                .map(line -> line.split("\\s+"))
    Created: Wed Apr 08 16:19:15 GMT 2026
    - Last Modified: Wed Sep 01 06:25:29 GMT 2021
    - 3K bytes
    - Click Count (0)
Back to Top