Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for cp (0.02 sec)

  1. cmd/utils.go

    		}
    	}
    	return newMeta
    }
    
    // pathClean is like path.Clean but does not return "." for
    // empty inputs, instead returns "empty" as is.
    func pathClean(p string) string {
    	cp := path.Clean(p)
    	if cp == "." {
    		return ""
    	}
    	return cp
    }
    
    func trimLeadingSlash(ep string) string {
    	if len(ep) > 0 && ep[0] == '/' {
    		// Path ends with '/' preserve it
    		if ep[len(ep)-1] == '/' && len(ep) > 1 {
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 33K bytes
    - Viewed (0)
  2. cmd/test-utils_test.go

    				etag := v[0]
    				if etag == "" {
    					t.Fatalf("Unexpected empty etag")
    				}
    				cp = append(cp, CompletePart{PartNumber: partID, ETag: etag[1 : len(etag)-1]})
    			} else {
    				t.Fatalf("Missing etag header")
    			}
    		}
    
    		// Call CompleteMultipart API
    		compMpBody, err := xml.Marshal(CompleteMultipartUpload{Parts: cp})
    		if err != nil {
    			t.Fatalf("Unexpected err: %#v", err)
    		}
    Registered: Sun Sep 07 19:28:11 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 77K bytes
    - Viewed (0)
  3. src/test/java/org/codelibs/fess/thumbnail/impl/CommandGeneratorTest.java

            // Test the variable replacement logic directly
            final List<String> commands =
                    Arrays.asList("convert ${url} ${outputFile}", "echo Processing ${url} to ${outputFile}", "cp ${url} ${outputFile}");
    
            final String tempPath = "/tmp/test.tmp";
            final String outputPath = "/tmp/output.jpg";
    
            // Simulate the variable replacement logic from the source code
    Registered: Thu Sep 04 12:52:25 UTC 2025
    - Last Modified: Sun Aug 31 08:19:00 UTC 2025
    - 16.4K bytes
    - Viewed (0)
Back to top