Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 397 for stdat (0.05 sec)

  1. src/os/stat.go

    // license that can be found in the LICENSE file.
    
    package os
    
    import "internal/testlog"
    
    // Stat returns a [FileInfo] describing the named file.
    // If there is an error, it will be of type [*PathError].
    func Stat(name string) (FileInfo, error) {
    	testlog.Stat(name)
    	return statNolog(name)
    }
    
    // Lstat returns a [FileInfo] describing the named file.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Mon Feb 26 21:33:12 UTC 2024
    - 973 bytes
    - Viewed (0)
  2. releasenotes/notes/alt-stat-name.yaml

    Rama Chavali <******@****.***> 1716199771 +0530
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Mon May 20 10:09:31 UTC 2024
    - 184 bytes
    - Viewed (0)
  3. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/NativePlatformBackedFileMetadataAccessor.java

            this.files = files;
        }
    
        @Override
        public FileMetadata stat(File f) {
            FileInfo stat;
            try {
                stat = files.stat(f, false);
            } catch (NativeException e) {
                throw new UncheckedIOException("Could not stat file " + f.getAbsolutePath(), e);
            }
            AccessType accessType = AccessType.viaSymlink(stat.getType() == FileInfo.Type.Symlink);
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:55 UTC 2024
    - 2.7K bytes
    - Viewed (0)
  4. subprojects/core/src/main/java/org/gradle/execution/plan/ExecutionNodeAccessHierarchies.java

        private final Stat stat;
    
        public ExecutionNodeAccessHierarchies(CaseSensitivity caseSensitivity, Stat stat) {
            this.caseSensitivity = caseSensitivity;
            this.stat = stat;
            outputHierarchy = new ExecutionNodeAccessHierarchy(caseSensitivity, stat);
            destroyableHierarchy = new ExecutionNodeAccessHierarchy(caseSensitivity, stat);
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  5. platforms/core-runtime/files/src/testFixtures/groovy/org/gradle/internal/file/AbstractFileMetadataAccessorTest.groovy

            expect:
            def stat = accessor.stat(file)
            stat.type == FileType.Missing
            stat.lastModified == 0
            stat.length == 0
            assertSameAccessType(stat, DIRECT)
        }
    
        def "stats regular file"() {
            def file = tmpDir.file("file")
            file.text = "123"
    
            expect:
            def stat = accessor.stat(file)
            stat.type == FileType.RegularFile
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 6.9K bytes
    - Viewed (0)
  6. src/os/stat_test.go

    	statCheck  func(*testing.T, string, fs.FileInfo)
    	lstatCheck func(*testing.T, string, fs.FileInfo)
    }
    
    // testStatAndLstat verifies that all os.Stat, os.Lstat os.File.Stat and os.Readdir work.
    func testStatAndLstat(t *testing.T, path string, params testStatAndLstatParams) {
    	// test os.Stat
    	sfi, err := os.Stat(path)
    	if err != nil {
    		t.Error(err)
    		return
    	}
    	params.statCheck(t, path, sfi)
    
    	// test os.Lstat
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Apr 03 22:38:03 UTC 2024
    - 7.8K bytes
    - Viewed (0)
  7. subprojects/core/src/main/java/org/gradle/execution/plan/SingleFileTreeElementMatcher.java

    import org.gradle.internal.file.Stat;
    
    import java.io.File;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.OutputStream;
    import java.nio.file.Files;
    
    public class SingleFileTreeElementMatcher {
    
        private final Stat stat;
    
        public SingleFileTreeElementMatcher(Stat stat) {
            this.stat = stat;
        }
    
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 4.9K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/internal/fingerprint/impl/PatternSetSnapshottingFilter.java

    import java.nio.file.Path;
    
    public class PatternSetSnapshottingFilter implements SnapshottingFilter {
        private final PatternSet patternSet;
        private final Stat stat;
    
        public PatternSetSnapshottingFilter(PatternSet patternSet, Stat stat) {
            this.stat = stat;
            this.patternSet = patternSet;
        }
    
        @Override
        public boolean isEmpty() {
            return patternSet.isEmpty();
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Mar 08 15:25:10 UTC 2024
    - 8K bytes
    - Viewed (0)
  9. subprojects/core/src/main/java/org/gradle/internal/classpath/ClasspathWalker.java

     * Allows the classes and resources of a classpath element such as a jar or directory to be visited.
     */
    @ServiceScope(Scope.UserHome.class)
    public class ClasspathWalker {
        private final Stat stat;
    
        public ClasspathWalker(Stat stat) {
            this.stat = stat;
        }
    
        /**
         * Visits the entries of the given classpath element.
         *
         * @throws FileException On failure to open a Jar file.
         */
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Mar 12 02:21:10 UTC 2024
    - 5.6K bytes
    - Viewed (0)
  10. docs/site-replication/run-ssec-object-replication.sh

    if [ "${repcount4}" -ne 1 ]; then
    	echo "BUG: object test-bucket/custpartsize not replicated"
    	exit_1
    fi
    
    # Stat the SSEC objects from source site
    echo "Stat minio1/test-bucket/encrypted"
    ./mc stat minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure --json
    stat_out1=$(./mc stat minio1/test-bucket/encrypted --enc-c "minio1/test-bucket/encrypted=${TEST_MINIO_ENC_KEY}" --insecure --json)
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Sat May 18 18:19:01 UTC 2024
    - 9.8K bytes
    - Viewed (0)
Back to top