- Sort Score
- Num 10 results
- Language All
Results 101 - 110 of 852 for exist (0.08 seconds)
-
docs/en/docs/advanced/additional-status-codes.md
For example, let's say that you want to have a *path operation* that allows to update items, and returns HTTP status codes of 200 "OK" when successful. But you also want it to accept new items. And when the items didn't exist before, it creates them, and returns an HTTP status code of 201 "Created". To achieve that, import `JSONResponse`, and return your content there directly, setting the `status_code` that you want:
Created: Sun Dec 28 07:19:09 GMT 2025 - Last Modified: Sun Aug 31 09:15:41 GMT 2025 - 2K bytes - Click Count (0) -
impl/maven-core/src/main/java/org/apache/maven/execution/DefaultBuildResumptionDataRepository.java
Properties properties = new Properties(); Path path = rootBuildDirectory.resolve(RESUME_PROPERTIES_FILENAME); if (!Files.exists(path)) { LOGGER.warn("The {} file does not exist. The --resume / -r feature will not work.", path); return properties; } try (Reader reader = Files.newBufferedReader(path)) { properties.load(reader);
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Feb 11 16:38:19 GMT 2025 - 4.9K bytes - Click Count (0) -
impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/DomUtilsTest.java
Element dependencies = root.child("dependencies").orElse(null); assertNotNull(dependencies, "dependencies should exist"); Element dependency = dependencies.child("dependency").orElse(null); assertNotNull(dependency, "dependency should exist"); // Insert elements in dependency according to dependency ordering DomUtils.insertContentElement(dependency, "scope", "test");
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Nov 18 18:03:26 GMT 2025 - 31.3K bytes - Click Count (0) -
helm-releases/minio-4.0.13.tgz
PURGE=$3 VERSIONING=$4 OBJECTLOCKING=$5 # Purge the bucket, if set & exists # Since PURGE is user input, check explicitly for `true` if [ $PURGE = true ]; then if checkBucketExists $BUCKET ; then echo "Purging bucket '$BUCKET'." set +e ; # don't exit if this fails ${MC} rm -r --force myminio/$BUCKET set -e ; # reset `e` as active else echo "Bucket '$BUCKET' does not exist, skipping purge." fi fi # Create the bucket if it does not exist and set objectlocking if enabled (NOTE: versioning will be not changed...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Tue Aug 23 18:18:14 GMT 2022 - 19.5K bytes - Click Count (0) -
helm-releases/minio-4.0.12.tgz
PURGE=$3 VERSIONING=$4 OBJECTLOCKING=$5 # Purge the bucket, if set & exists # Since PURGE is user input, check explicitly for `true` if [ $PURGE = true ]; then if checkBucketExists $BUCKET ; then echo "Purging bucket '$BUCKET'." set +e ; # don't exit if this fails ${MC} rm -r --force myminio/$BUCKET set -e ; # reset `e` as active else echo "Bucket '$BUCKET' does not exist, skipping purge." fi fi # Create the bucket if it does not exist and set objectlocking if enabled (NOTE: versioning will be not changed...
Created: Sun Dec 28 19:28:13 GMT 2025 - Last Modified: Sun Aug 14 05:50:43 GMT 2022 - 19.4K bytes - Click Count (0) -
build-logic/cleanup/src/main/kotlin/gradlebuild/cleanup/services/DaemonTracker.kt
override fun beforeSuite(suite: TestDescriptor) { if (suite.parent == null) { forEachJavaProcess { pid, _ -> // processes that exist before the test suite execution should // not trigger a warning daemonPids += pid } } }
Created: Wed Dec 31 11:36:14 GMT 2025 - Last Modified: Mon Jan 08 12:45:57 GMT 2024 - 3.4K bytes - Click Count (0) -
android/guava-tests/test/com/google/common/util/concurrent/TestThread.java
start(); } /* * TODO: b/318391980 - Once we test only under Java 20 and higher, avoid calling Thread.stop. As * of Java 20, it always throws an exception, and as of Java 26, the method does not even exist. * For now, we continue using it to clean up under older JDKs. * * Our usages should at least be *relatively* safe: Typically, threads started by a test are dying
Created: Fri Dec 26 12:43:10 GMT 2025 - Last Modified: Thu Dec 11 21:00:51 GMT 2025 - 11.4K bytes - Click Count (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/LookupInvoker.java
installationSettingsFile != null && Files.exists(installationSettingsFile) ? Sources.fromPath(installationSettingsFile) : null) .projectSettingsSource( projectSettingsFile != null && Files.exists(projectSettingsFile) ? Sources.fromPath(projectSettingsFile)
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Tue Oct 28 13:01:07 GMT 2025 - 43.2K bytes - Click Count (0) -
compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/DefaultGraphConflictResolver.java
if (entry == null) { return null; } if (graph.isEmpty()) { throw new GraphConflictResolutionException("graph with an entry, but not vertices do not exist"); } if (graph.isEmptyEdges()) { return null; // no edges - nothing to worry about } final TreeSet<MetadataGraphVertex> vertices = graph.getVertices();
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Wed Jul 23 17:27:08 GMT 2025 - 7.4K bytes - Click Count (0) -
impl/maven-core/src/site/apt/offline-mode.apt
* If the wagon is bound to "file://" then: Retrieve the file or base-url file to be "downloaded". * If the file (or more usefully, the base-url file) exists, proceed. * If the file (or base-url file) doesn't exist, assume that this location is part of a file-share. Ignore the request and print a debug message as above. ** Control over mojos in the lifecycle
Created: Sun Dec 28 03:35:09 GMT 2025 - Last Modified: Sat Apr 05 11:52:05 GMT 2025 - 10.6K bytes - Click Count (0)