- Sort Score
- Result 10 results
- Languages All
Results 21 - 30 of 164 for fullpath (0.05 sec)
-
.github/workflows/CheckBadMerge.groovy
static boolean isBadFileInMergeCommit(String filePath, String mergeCommit, String masterCommit, String releaseCommit) { try { List<String> mergeCommitFileLines = showFileOnCommit(mergeCommit, filePath).readLines() List<String> masterCommitFileLines = showFileOnCommit(masterCommit, filePath).readLines() List<String> releaseCommitFileLines = showFileOnCommit(releaseCommit, filePath).readLines()
Registered: Wed Nov 06 11:36:14 UTC 2024 - Last Modified: Tue Dec 19 10:35:44 UTC 2023 - 6.5K bytes - Viewed (0) -
cni/pkg/install/binaries_test.go
t.Run(c.name, func(t *testing.T) { srcDir := t.TempDir() for filename, contents := range c.srcFiles { file.WriteOrFail(t, filepath.Join(srcDir, filename), []byte(contents)) } targetDir := t.TempDir() for filename, contents := range c.existingFiles { file.WriteOrFail(t, filepath.Join(targetDir, filename), []byte(contents)) } binariesCopied, err := copyBinaries(srcDir, []string{targetDir}) if err != nil {
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Thu Jul 20 18:34:43 UTC 2023 - 2.3K bytes - Viewed (0) -
utils/utils.go
"database/sql/driver" "fmt" "path/filepath" "reflect" "runtime" "strconv" "strings" "unicode" ) var gormSourceDir string func init() { _, file, _, _ := runtime.Caller(0) // compatible solution to get gorm source directory with various operating systems gormSourceDir = sourceDir(file) } func sourceDir(file string) string { dir := filepath.Dir(file) dir = filepath.Dir(dir) s := filepath.Dir(dir)
Registered: Sun Nov 03 09:35:10 UTC 2024 - Last Modified: Thu Aug 22 11:03:42 UTC 2024 - 4.1K bytes - Viewed (0) -
cni/pkg/install/install_test.go
// Create existing config file if specified in test case cniConfigFilePath := filepath.Join(cniNetDir, c.configFilename) if err := file.AtomicCopy(filepath.Join("testdata", c.existingConfigFilename), cniNetDir, c.configFilename); err != nil { t.Fatal(err) } // Create existing binary files if err := os.WriteFile(filepath.Join(cniBinDir, "istio-cni"), []byte{1, 2, 3}, 0o755); err != nil { t.Fatal(err) }
Registered: Wed Nov 06 22:53:10 UTC 2024 - Last Modified: Fri Jan 26 20:34:28 UTC 2024 - 11.1K bytes - Viewed (0) -
docs_src/generate_clients/tutorial004.js
Registered: Sun Nov 03 07:19:11 UTC 2024 - Last Modified: Thu Mar 14 11:40:05 UTC 2024 - 1K bytes - Viewed (0) -
internal/event/target/nats_tls_contrib_test.go
* limitations under the License. */ package target import ( "path" "path/filepath" "testing" xnet "github.com/minio/pkg/v3/net" natsserver "github.com/nats-io/nats-server/v2/test" ) func TestNatsConnTLSCustomCA(t *testing.T) { s, opts := natsserver.RunServerWithConfig(filepath.Join("testdata", "contrib", "nats_tls.conf")) defer s.Shutdown() clientConfig := &NATSArgs{ Enable: true,
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri May 24 23:05:23 UTC 2024 - 2.1K bytes - Viewed (0) -
internal/store/queuestore.go
// along with this program. If not, see <http://www.gnu.org/licenses/>. package store import ( "bytes" "encoding/json" "errors" "os" "path/filepath" "sort" "sync" "time" "github.com/google/uuid" jsoniter "github.com/json-iterator/go" "github.com/klauspost/compress/s2" "github.com/valyala/bytebufferpool" ) const (
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Fri Sep 06 23:06:30 UTC 2024 - 8.6K bytes - Viewed (0) -
cmd/bitrot.go
func newBitrotWriter(disk StorageAPI, origvolume, volume, filePath string, length int64, algo BitrotAlgorithm, shardSize int64) io.Writer { if algo == HighwayHash256S { return newStreamingBitrotWriter(disk, origvolume, volume, filePath, length, algo, shardSize) } return newWholeBitrotWriter(disk, volume, filePath, algo, shardSize) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 7.6K bytes - Viewed (0) -
cmd/metrics-v3-handler.go
matchingMG := make(map[collectorPath]*MetricsGroup) for _, collPath := range h.metricsData.collectorPaths { if collPath.isDescendantOf(path) { if v, ok := h.metricsData.mgMap[collPath]; ok { matchingMG[collPath] = v } else if v, ok := h.metricsData.bucketMGMap[collPath]; ok { matchingMG[collPath] = v } } } if len(matchingMG) == 0 { return nil }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Mon Jul 15 16:28:02 UTC 2024 - 7.8K bytes - Viewed (0) -
cmd/bitrot_test.go
tmpDir := t.TempDir() volume := "testvol" filePath := "testfile" disk, err := newLocalXLStorage(tmpDir) if err != nil { t.Fatal(err) } disk.MakeVol(context.Background(), volume) writer := newBitrotWriter(disk, "", volume, filePath, 35, bitrotAlgo, 10) _, err = writer.Write([]byte("aaaaaaaaaa")) if err != nil { t.Fatal(err) }
Registered: Sun Nov 03 19:28:11 UTC 2024 - Last Modified: Tue Jan 30 20:43:25 UTC 2024 - 2.1K bytes - Viewed (0)