- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 136 for symlinks (0.25 sec)
-
subprojects/core/src/integTest/groovy/org/gradle/api/tasks/IncrementalBuildSymlinkHandlingIntegrationTest.groovy
import java.nio.file.Files import java.nio.file.StandardCopyOption @Requires(UnitTestPreconditions.Symlinks) class IncrementalBuildSymlinkHandlingIntegrationTest extends AbstractIntegrationSpec implements ValidationMessageChecker { def setup() { expectReindentedValidationMessage() // Must run on isolated daemons so that symlink data can be properly cleaned up between builds executer.requireDaemon()
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Thu Feb 01 14:30:36 UTC 2024 - 8K bytes - Viewed (0) -
src/crypto/x509/root_unix.go
} } } if roots.len() > 0 || firstErr == nil { return roots, nil } return nil, firstErr } // readUniqueDirectoryEntries is like os.ReadDir but omits // symlinks that point within the directory. func readUniqueDirectoryEntries(dir string) ([]fs.DirEntry, error) { files, err := os.ReadDir(dir) if err != nil { return nil, err } uniq := files[:0] for _, f := range files {
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Apr 11 20:54:07 UTC 2023 - 2.7K bytes - Viewed (0) -
platforms/core-execution/snapshots/src/test/groovy/org/gradle/internal/fingerprint/impl/BrokenSymlinkNormalizationStrategyTest.groovy
strategy << allFingerprintingStrategies strategyName = getStrategyName(strategy) } def "non-root broken symlink is fingerprinted as missing for #strategyName"() { given: def root = file('root') root.mkdirs() def brokenSymlink = root.file('broken-symlink') brokenSymlink.createLink(file('non-existing')) when:
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:34:50 UTC 2023 - 3.6K bytes - Viewed (0) -
src/cmd/internal/bootstrap_test/overlaydir_test.go
if info.IsDir() { return os.MkdirAll(dstPath, perm|0200) } // If we can use a hard link, do that instead of copying bytes. // Go builds don't like symlinks in some cases, such as go:embed. if err := os.Link(srcPath, dstPath); err == nil { return nil } // Otherwise, copy the bytes. src, err := os.Open(srcPath) if err != nil { return err }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Fri May 12 12:35:05 UTC 2023 - 2.1K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/jvm/toolchain/internal/LinuxInstallationSupplierTest.groovy
directories*.source.unique() == ["Common Linux Locations"] } @Requires(UnitTestPreconditions.Symlinks) def "supplies installations with symlinked candidate"() { given: def otherLocation = temporaryFolder.createDir("other") candidates.createDir("14-real") candidates.file("symlinked").createLink(otherLocation.canonicalFile)
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Wed Apr 10 18:03:55 UTC 2024 - 4.3K bytes - Viewed (0) -
build/build-image/rsyncd.sh
USER_CONFIG= if [[ "$(id -u)" == "0" ]]; then USER_CONFIG=" uid = 0"$'\n'" gid = 0" fi cat <<EOF >"${CONFFILE}" pid file = ${PIDFILE} use chroot = no log file = /dev/stdout reverse lookup = no munge symlinks = no port = 8730 [k8s] numeric ids = true $USER_CONFIG hosts deny = * hosts allow = ${ALLOW} ${ALLOW_HOST-} auth users = k8s secrets file = ${SECRETS} read only = false path = ${VOLUME}
Registered: Sat Jun 15 01:39:40 UTC 2024 - Last Modified: Tue Oct 04 15:58:52 UTC 2022 - 2.2K bytes - Viewed (0) -
src/cmd/go/internal/lockedfile/lockedfile_filelock.go
if err := f.Truncate(0); err != nil { // The documentation for os.O_TRUNC says “if possible, truncate file when // opened”, but doesn't define “possible” (golang.org/issue/28699). // We'll treat regular files (and symlinks to regular files) as “possible” // and ignore errors for the rest. if fi, statErr := f.Stat(); statErr != nil || fi.Mode().IsRegular() { filelock.Unlock(f) f.Close() return nil, err } } }
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Thu Oct 28 18:17:57 UTC 2021 - 1.7K bytes - Viewed (0) -
platforms/jvm/jvm-services/src/test/groovy/org/gradle/internal/jvm/inspection/CachingJvmMetadataDetectorTest.groovy
def metadata2 = detector.getMetadata(testLocation("jdk")) then: metadata1.is(metadata2) } @Requires(UnitTestPreconditions.Symlinks) def "cached probe are not affected by symlink changes"() { given: NativeServicesTestFixture.initialize() def metaDataDetector = new DefaultJvmMetadataDetector( TestFiles.execHandleFactory(),
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Tue Mar 12 18:25:34 UTC 2024 - 4.2K bytes - Viewed (0) -
platforms/core-runtime/launcher/src/integTest/groovy/org/gradle/launcher/GradleConfigurabilityIntegrationSpec.groovy
Registered: Wed Jun 12 18:38:38 UTC 2024 - Last Modified: Fri Sep 22 09:29:13 UTC 2023 - 4.6K bytes - Viewed (0) -
src/cmd/go/internal/modindex/scan.go
// encoded representation. It returns ErrNotIndexed if the module can't // be indexed because it contains symlinks. func indexModule(modroot string) ([]byte, error) { fsys.Trace("indexModule", modroot) var packages []*rawPackage // If the root itself is a symlink to a directory, // we want to follow it (see https://go.dev/issue/50807). // Add a trailing separator to force that to happen.
Registered: Wed Jun 12 16:32:35 UTC 2024 - Last Modified: Tue Mar 26 19:58:28 UTC 2024 - 8.5K bytes - Viewed (0)