Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for OutputKind (0.11 sec)

  1. platforms/core-execution/execution/src/main/java/org/gradle/internal/execution/history/impl/DefaultOutputFilesRepository.java

    public class DefaultOutputFilesRepository implements OutputFilesRepository, Closeable {
    
        private final PersistentCache cacheAccess;
        enum OutputKind {
            OUTPUT,
            PARENT_OF_OUTPUT
        }
        private final IndexedCache<String, OutputKind> outputFiles;
    
        public DefaultOutputFilesRepository(PersistentCache cacheAccess, InMemoryCacheDecoratorFactory inMemoryCacheDecoratorFactory) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 4.7K bytes
    - Viewed (0)
  2. platforms/core-execution/execution/src/test/groovy/org/gradle/internal/execution/history/impl/DefaultOutputFilesRepositoryTest.groovy

        public final TestNameTestDirectoryProvider tmpDir = new TestNameTestDirectoryProvider(getClass())
    
        def outputFiles = new TestInMemoryIndexedCache<String, DefaultOutputFilesRepository.OutputKind>(new BaseSerializerFactory().getSerializerFor(DefaultOutputFilesRepository.OutputKind))
        def cacheAccess = Stub(PersistentCache) {
            createIndexedCache(_) >> outputFiles
        }
        def cacheDecorator = Mock(CacheDecorator)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Fri Apr 26 16:02:33 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  3. pkg/version/cobra_test.go

    	return func() (*MeshInfo, error) {
    		return meshInfo, err
    	}
    }
    
    type outputKind int
    
    const (
    	rawOutputMock outputKind = iota
    	shortOutputMock
    	jsonOutputMock
    	yamlOutputMock
    )
    
    func printMeshVersion(meshInfo *MeshInfo, kind outputKind) string {
    	switch kind {
    	case yamlOutputMock:
    		ver := &Version{MeshVersion: meshInfo}
    		res, _ := yaml.Marshal(ver)
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Tue Aug 29 14:15:26 UTC 2023
    - 8.5K bytes
    - Viewed (0)
Back to top