Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 609 for stwat (0.04 sec)

  1. src/io/fs/stat.go

    package fs
    
    // A StatFS is a file system with a Stat method.
    type StatFS interface {
    	FS
    
    	// Stat returns a FileInfo describing the file.
    	// If there is an error, it should be of type *PathError.
    	Stat(name string) (FileInfo, error)
    }
    
    // Stat returns a [FileInfo] describing the named file from the file system.
    //
    // If fs implements [StatFS], Stat calls fs.Stat.
    // Otherwise, Stat opens the [File] to stat it.
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Wed Oct 11 20:25:50 UTC 2023
    - 803 bytes
    - Viewed (0)
  2. 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)
  3. platforms/core-runtime/files/src/main/java/org/gradle/internal/file/Stat.java

     * limitations under the License.
     */
    
    package org.gradle.internal.file;
    
    import java.io.File;
    
    public interface Stat {
        int getUnixMode(File f) throws FileException;
    
        FileMetadata stat(File f) throws FileException;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Sep 22 08:55:52 UTC 2023
    - 803 bytes
    - Viewed (0)
  4. 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)
  5. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/ExpressionReplacingVisitorSupport.java

            stat.setIfBlock(replace(stat.getIfBlock()));
            stat.setElseBlock(replace(stat.getElseBlock()));
        }
    
        @Override
        @SuppressWarnings("unchecked")
        public void visitTryCatchFinally(TryCatchStatement stat) {
            stat.setTryStatement(replace(stat.getTryStatement()));
            replaceAll(stat.getCatchStatements());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 16.9K bytes
    - Viewed (0)
  6. platforms/core-configuration/base-services-groovy/src/main/java/org/gradle/groovy/scripts/internal/StatementReplacingVisitorSupport.java

        stat.setTryStatement(replace(stat.getTryStatement()));
        replaceAll(stat.getCatchStatements());
        stat.setFinallyStatement(replace(stat.getFinallyStatement()));
      }
    
      @SuppressWarnings("unchecked")
      @Override
      public void visitSwitch(SwitchStatement stat) {
        stat.getExpression().visit(this);
        replaceAll(stat.getCaseStatements());
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 10:00:26 UTC 2023
    - 4.1K bytes
    - Viewed (0)
  7. 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)
  8. 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)
  9. 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)
  10. 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)
Back to top