Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for createFile (0.1 sec)

  1. cmd/xl-storage.go

    			file.Close()
    			return nil, err
    		}
    	}
    	return &sendFileReader{Reader: io.LimitReader(file, length), Closer: file}, nil
    }
    
    // CreateFile - creates the file.
    func (s *xlStorage) CreateFile(ctx context.Context, origvolume, volume, path string, fileSize int64, r io.Reader) (err error) {
    	if origvolume != "" {
    		origvolumeDir, err := s.getVolDir(origvolume)
    		if err != nil {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
  2. cmd/erasure-object.go

    			// prematurely closed and we do not find any xl.meta or
    			// part.1's - in such a scenario we must return as if client
    			// disconnected. This means that erasure.Encode() CreateFile()
    			// did not do anything.
    			return ObjectInfo{}, IncompleteBody{Bucket: bucket, Object: object}
    		}
    		return ObjectInfo{}, toObjectErr(err, bucket, object)
    	}
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Oct 31 22:10:24 UTC 2024
    - 78.8K bytes
    - Viewed (0)
  3. src/main/java/jcifs/smb/SmbFile.java

             * why? am I going around in circles?
             * this.type = type == TYPE_WORKGROUP ? 0 : type;
             */
            this.fileLocator.updateType(type);
            this.attributes = attributes;
            this.createTime = createTime;
            this.lastModified = lastModified;
            this.lastAccess = lastAccess;
            this.size = size;
            this.isExists = true;
    
            if ( loadedAttributes ) {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu May 23 01:50:13 UTC 2024
    - 82.3K bytes
    - Viewed (0)
Back to top