Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for textual (0.19 sec)

  1. internal/config/storageclass/storage-class.go

    // IsValid - returns true if input string is a valid
    // storage class kind supported.
    func IsValid(sc string) bool {
    	return sc == RRS || sc == STANDARD
    }
    
    // UnmarshalText unmarshals storage class from its textual form into
    // storageClass structure.
    func (sc *StorageClass) UnmarshalText(b []byte) error {
    	scStr := string(b)
    	if scStr == "" {
    		return nil
    	}
    	s, err := parseStorageClass(scStr)
    	if err != nil {
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Thu Apr 04 12:04:40 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  2. internal/etag/etag.go

    	}
    	return etag, nil
    }
    
    // Parse parses s as an S3 ETag, returning the result.
    // The string can be an encrypted, singlepart
    // or multipart S3 ETag. It returns an error if s is
    // not a valid textual representation of an ETag.
    func Parse(s string) (ETag, error) {
    	const strict = false
    	return parse(s, strict)
    }
    
    // parse parse s as an S3 ETag, returning the result.
    // It operates in one of two modes:
    Go
    - Registered: Sun May 05 19:28:20 GMT 2024
    - Last Modified: Sun Mar 10 21:09:36 GMT 2024
    - 13.3K bytes
    - Viewed (0)
Back to top