Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readMetadata (0.06 sec)

  1. compat/maven-compat/src/main/java/org/apache/maven/artifact/repository/metadata/DefaultRepositoryMetadataManager.java

                    localRepository.pathOfLocalRepositoryMetadata(repoMetadata, remoteRepository));
    
            if (metadataFile.exists()) {
                Metadata metadata;
    
                try {
                    metadata = readMetadata(metadataFile);
                } catch (RepositoryMetadataReadException e) {
                    if (getLogger().isDebugEnabled()) {
                        getLogger().warn(e.getMessage(), e);
                    } else {
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Fri Oct 25 12:31:46 UTC 2024
    - 18.9K bytes
    - Viewed (0)
  2. cmd/xl-storage.go

    	buf, err := readXLMetaNoData(f, stat.Size())
    	if err != nil {
    		return nil, stat.ModTime().UTC(), fmt.Errorf("%w -> %s", err, itemPath)
    	}
    	return buf, stat.ModTime().UTC(), err
    }
    
    func (s *xlStorage) readMetadata(ctx context.Context, itemPath string) ([]byte, error) {
    	return xioutil.WithDeadline[[]byte](ctx, globalDriveConfig.GetMaxTimeout(), func(ctx context.Context) ([]byte, error) {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Oct 26 09:58:27 UTC 2024
    - 91.3K bytes
    - Viewed (0)
Back to top