Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for splitPath (0.14 sec)

  1. cmd/iam-object-store.go

    	policyDBUsersListKey    = "policydb/users/"
    	policyDBSTSUsersListKey = "policydb/sts-users/"
    	policyDBGroupsListKey   = "policydb/groups/"
    )
    
    // splitPath splits a path into a top-level directory and a child item. The
    // parent directory retains the trailing slash.
    func splitPath(s string, lastIndex bool) (string, string) {
    	var i int
    	if lastIndex {
    		i = strings.LastIndex(s, "/")
    	} else {
    		i = strings.Index(s, "/")
    	}
    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)
Back to top