Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 418 for filesystem_ (0.17 sec)

  1. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/FallbackStat.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    
    package org.gradle.internal.nativeintegration.filesystem.services;
    
    import org.gradle.internal.file.FileModeAccessor;
    import org.gradle.internal.nativeintegration.filesystem.FileSystem;
    
    import java.io.File;
    import java.io.FileNotFoundException;
    import java.io.IOException;
    
    class FallbackStat implements FileModeAccessor {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Tue Apr 16 15:50:56 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  2. platforms/core-runtime/native/src/main/java/org/gradle/internal/nativeintegration/filesystem/services/FileSystemServices.java

    import org.gradle.internal.file.StatStatistics;
    import org.gradle.internal.nativeintegration.filesystem.FileSystem;
    import org.gradle.internal.nativeintegration.filesystem.Symlink;
    import org.gradle.internal.nativeintegration.filesystem.jdk7.Jdk7Symlink;
    import org.gradle.internal.nativeintegration.filesystem.jdk7.WindowsJdk7Symlink;
    import org.gradle.internal.os.OperatingSystem;
    import org.gradle.internal.service.Provides;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  3. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/collections/DirectoryTrees.java

    import org.gradle.api.internal.file.DefaultFileTreeElement;
    import org.gradle.internal.nativeintegration.filesystem.FileSystem;
    
    import java.io.File;
    
    public abstract class DirectoryTrees {
        private DirectoryTrees() {
        }
    
        public static boolean contains(FileSystem fileSystem, DirectoryTree tree, File file) {
            String prefix = tree.getDir().getAbsolutePath() + File.separator;
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 1.4K bytes
    - Viewed (0)
  4. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFileCollectionFactory.java

            Factory<PatternSet> patternSetFactory,
            PropertyHost propertyHost,
            FileSystem fileSystem
        ) {
            this(fileResolver, taskDependencyFactory, directoryFileTreeFactory, patternSetFactory, propertyHost, fileSystem, fileCollection -> {});
        }
    
        private DefaultFileCollectionFactory(
            PathToFileResolver fileResolver,
            TaskDependencyFactory taskDependencyFactory,
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri May 24 18:57:37 UTC 2024
    - 13.8K bytes
    - Viewed (0)
  5. platforms/core-configuration/file-collections/src/main/java/org/gradle/api/internal/file/DefaultFileTreeElement.java

            this.relativePath = relativePath;
            this.stat = stat;
        }
    
        public static DefaultFileTreeElement of(File file, FileSystem fileSystem) {
            RelativePath path = RelativePath.parse(!file.isDirectory(), file.getAbsolutePath());
            return new DefaultFileTreeElement(file, path, fileSystem, fileSystem);
        }
    
        @Override
        public File getFile() {
            return file;
        }
    
        @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 2.4K bytes
    - Viewed (0)
  6. platforms/core-configuration/file-collections/src/test/groovy/org/gradle/api/internal/file/collections/GeneratedSingletonFileTreeSpec.groovy

    import org.gradle.api.Action
    import org.gradle.api.file.FileVisitDetails
    import org.gradle.api.file.FileVisitor
    import org.gradle.api.internal.file.FileTreeInternal
    import org.gradle.internal.nativeintegration.filesystem.FileSystem
    import org.gradle.test.fixtures.file.TestNameTestDirectoryProvider
    import org.gradle.util.UsesNativeServices
    import org.junit.Rule
    import spock.lang.Specification
    
    @UsesNativeServices
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu Sep 28 09:51:04 UTC 2023
    - 3.8K bytes
    - Viewed (0)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/PostPath.kt

    class PostPath {
      private val client = OkHttpClient()
      private val fileSystem = FakeFileSystem()
      val path = "test.json".toPath()
    
      fun run() {
        fileSystem.write(path) {
          writeUtf8("{}")
        }
    
        val request =
          Request.Builder()
            .url("https://httpbin.org/anything")
            .put(path.asRequestBody(fileSystem, MEDIA_TYPE_JSON))
            .build()
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.6K bytes
    - Viewed (0)
  8. subprojects/core/src/main/java/org/gradle/caching/internal/BuildCacheServices.java

            private final FileSystem fileSystem;
    
            public FilePermissionsAccessAdapter(FileSystem fileSystem) {
                this.fileSystem = fileSystem;
            }
    
            @Override
            public int getUnixMode(File f) throws FileException {
                return fileSystem.getUnixMode(f);
            }
    
            @Override
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon May 27 12:34:44 UTC 2024
    - 8.7K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

     *
     *
     * The resulting file is used by [PublicSuffixDatabase].
     */
    class PublicSuffixListGenerator(
      projectRoot: Path = ".".toPath(),
      val fileSystem: FileSystem = FileSystem.SYSTEM,
      val client: OkHttpClient = OkHttpClient(),
    ) {
      private val resources = projectRoot / "okhttp/src/main/resources/okhttp3/internal/publicsuffix"
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Thu Apr 18 01:24:38 UTC 2024
    - 6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        // If a bkp file exists, use it instead.
        if (fileSystem.exists(journalFileBackup)) {
          // If journal file also exists just delete backup file.
          if (fileSystem.exists(journalFile)) {
            fileSystem.delete(journalFileBackup)
          } else {
            fileSystem.atomicMove(journalFileBackup, journalFile)
          }
        }
    
        civilizedFileSystem = fileSystem.isCivilized(journalFileBackup)
    
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 34.7K bytes
    - Viewed (0)
Back to top