- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 14 for abspath (0.21 sec)
-
cmd/update.go
// Convert to absolute path absPath, err := filepath.Abs(path) if err != nil { return t, fmt.Errorf("Unable to get absolute path of %s. %w", path, err) } // Version is minio non-standard, we will use minio binary's // ModTime as release time. fi, err := Stat(absPath) if err != nil { return t, fmt.Errorf("Unable to get ModTime of %s. %w", absPath, err) } // Return the ModTime
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 24 04:08:47 GMT 2024 - 18.7K bytes - Viewed (0) -
helm/minio/templates/statefulset.yaml
{{- end }} annotations: {{- if not .Values.ignoreChartChecksums }} checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} {{- end }} {{- if .Values.podAnnotations }} {{- toYaml .Values.podAnnotations | nindent 8 }} {{- end }}
Others - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 26 07:50:24 GMT 2024 - 10.7K bytes - Viewed (0) -
cmd/endpoint.go
func checkCrossDeviceMounts(endpoints Endpoints) (err error) { var absPaths []string for _, endpoint := range endpoints { if endpoint.IsLocal { var absPath string absPath, err = filepath.Abs(endpoint.Path) if err != nil { return err } absPaths = append(absPaths, absPath) } } return mountinfo.CheckCrossDevice(absPaths) }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 21 11:43:18 GMT 2024 - 34.1K bytes - Viewed (0) -
internal/mountinfo/mountinfo_linux_test.go
if err = os.WriteFile(mountsPath, []byte(successCase), 0o666); err != nil { t.Fatal(err) } // Failure case where we detected successfully cross device mounts. { absPaths := []string{"/path/to/1"} if err = checkCrossDevice(absPaths, mountsPath); err == nil { t.Fatal("Expected to fail, but found success") } mp := []mountInfo{ {"/dev/2", "/path/to/1/2", "type2", []string{"flags"}, "2", "2"}, }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Thu Jan 18 07:03:17 GMT 2024 - 7.3K bytes - Viewed (0) -
helm-releases/minio-5.0.15.tgz
}} data: initialize: |- {{- include (print $.Template.BasePath "/_helper_create_bucket.txt") . | nindent 4 }} add-user: |- {{- include (print $.Template.BasePath "/_helper_create_user.txt") . | nindent 4 }} add-policy: |- {{- include (print $.Template.BasePath "/_helper_create_policy.txt") . | nindent 4 }} {{- range $idx, $policy := .Values.policies }} # Policy: {{ $policy.name }} policy_{{ $idx }}.json: |- {{- include (print $.Template.BasePath "/_helper_policy.tpl") . | nindent 4 }} {{ end }} {{-...
Others - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Jan 12 18:18:57 GMT 2024 - 20.8K bytes - Viewed (0) -
helm-releases/minio-5.1.0.tgz
}} data: initialize: |- {{- include (print $.Template.BasePath "/_helper_create_bucket.txt") . | nindent 4 }} add-user: |- {{- include (print $.Template.BasePath "/_helper_create_user.txt") . | nindent 4 }} add-policy: |- {{- include (print $.Template.BasePath "/_helper_create_policy.txt") . | nindent 4 }} {{- range $idx, $policy := .Values.policies }} # Policy: {{ $policy.name }} policy_{{ $idx }}.json: |- {{- include (print $.Template.BasePath "/_helper_policy.tpl") . | nindent 4 }} {{ end }} {{-...
Others - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Mar 03 18:49:37 GMT 2024 - 21.3K bytes - Viewed (0) -
cmd/iam-store.go
} func getUserIdentityPath(user string, userType IAMUserType) string { var basePath string switch userType { case svcUser: basePath = iamConfigServiceAccountsPrefix case stsUser: basePath = iamConfigSTSPrefix default: basePath = iamConfigUsersPrefix } return pathJoin(basePath, user, iamIdentityFile) } func saveIAMFormat(ctx context.Context, store IAMStorageAPI) error {
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sat Apr 27 10:04:10 GMT 2024 - 75.2K bytes - Viewed (2) -
cmd/xl-storage.go
// with files in it. Returns nil for a non-empty directory even when // recursive is set to false. func (s *xlStorage) deleteFile(basePath, deletePath string, recursive, immediate bool) error { if basePath == "" || deletePath == "" { return nil } bp := pathutil.Clean(basePath) // do not override basepath / or deletePath / dp := pathutil.Clean(deletePath) if !strings.HasPrefix(dp, bp) || dp == bp { return nil }
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Apr 28 17:53:50 GMT 2024 - 84.7K bytes - Viewed (0) -
cmd/iam-object-store.go
var basePath string if isGroup { basePath = iamConfigPolicyDBGroupsPrefix } else { switch userType { case svcUser: basePath = iamConfigPolicyDBServiceAccountsPrefix case stsUser: basePath = iamConfigPolicyDBSTSUsersPrefix default: basePath = iamConfigPolicyDBUsersPrefix } } ctx, cancel := context.WithCancel(ctx)
Go - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Fri Apr 05 21:26:41 GMT 2024 - 19.9K bytes - Viewed (0) -
helm/minio/templates/deployment.yaml
{{- end }} annotations: {{- if not .Values.ignoreChartChecksums }} checksum/secrets: {{ include (print $.Template.BasePath "/secrets.yaml") . | sha256sum }} checksum/config: {{ include (print $.Template.BasePath "/configmap.yaml") . | sha256sum }} {{- end }} {{- if .Values.podAnnotations }} {{- toYaml .Values.podAnnotations | trimSuffix "\n" | nindent 8 }}
Others - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Sun Mar 03 17:50:39 GMT 2024 - 8.7K bytes - Viewed (0)