Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for prependTo (0.14 sec)

  1. dockerscripts/docker-entrypoint.sh

    #!/bin/sh
    #
    
    # If command starts with an option, prepend minio.
    if [ "${1}" != "minio" ]; then
    	if [ -n "${1}" ]; then
    		set -- minio "$@"
    	fi
    fi
    
    docker_switch_user() {
    	if [ -n "${MINIO_USERNAME}" ] && [ -n "${MINIO_GROUPNAME}" ]; then
    		if [ -n "${MINIO_UID}" ] && [ -n "${MINIO_GID}" ]; then
    			chroot --userspec=${MINIO_UID}:${MINIO_GID} / "$@"
    		else
    			echo "${MINIO_USERNAME}:x:1000:1000:${MINIO_USERNAME}:/:/sbin/nologin" >>/etc/passwd
    Shell Script
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Fri Nov 03 21:18:18 GMT 2023
    - 675 bytes
    - Viewed (0)
  2. cmd/object-api-utils.go

    	if s == "" {
    		return s
    	}
    	return strings.TrimSuffix(s, SlashSeparator) + SlashSeparator
    }
    
    // pathsJoinPrefix - like pathJoin retains trailing SlashSeparator
    // for all elements, prepends them with 'prefix' respectively.
    func pathsJoinPrefix(prefix string, elem ...string) (paths []string) {
    	paths = make([]string, len(elem))
    	for i, e := range elem {
    		paths[i] = pathJoin(prefix, e)
    	}
    	return paths
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Mon Mar 11 11:55:34 GMT 2024
    - 35.6K bytes
    - Viewed (1)
Back to top