Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 48 for rmtree (0.14 seconds)

  1. tests/test_tutorial/test_templates/test_tutorial001.py

    import os
    import shutil
    
    from fastapi.testclient import TestClient
    
    
    def test_main():
        if os.path.isdir("./static"):  # pragma: nocover
            shutil.rmtree("./static")
        if os.path.isdir("./templates"):  # pragma: nocover
            shutil.rmtree("./templates")
        shutil.copytree("./docs_src/templates/templates/", "./templates")
        shutil.copytree("./docs_src/templates/static/", "./static")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 915 bytes
    - Click Count (0)
  2. docs/sts/client_grants/sts_element.py

    # -*- coding: utf-8 -*-
    from xml.etree import cElementTree
    from xml.etree.cElementTree import ParseError
    
    if hasattr(cElementTree, 'ParseError'):
        _ETREE_EXCEPTIONS = (ParseError, AttributeError, ValueError, TypeError)
    else:
        _ETREE_EXCEPTIONS = (SyntaxError, AttributeError, ValueError, TypeError)
    
    _STS_NS = {'sts': 'https://sts.amazonaws.com/doc/2011-06-15/'}
    
    
    class STSElement(object):
    Created: Sun Dec 28 19:28:13 GMT 2025
    - Last Modified: Fri Apr 23 18:58:53 GMT 2021
    - 2.5K bytes
    - Click Count (0)
  3. architecture/build-state-model.md

    ### Build tree state
    
    "Build tree" is another name for the build definition.
    The "build tree state" holds the state for the entire build definition for a single build execution within a session.
    
    The build tree state is managed by the `BuildTreeState` class.
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed May 22 13:39:49 GMT 2024
    - 3.4K bytes
    - Click Count (0)
  4. src/bootstrap.bash

    # combination, leaving the resulting tree in ../../go-${GOOS}-${GOARCH}-bootstrap.
    # That tree can be copied to a machine of the given target type
    # and used as $GOROOT_BOOTSTRAP to bootstrap a local build.
    #
    # Only changes that have been committed to Git (at least locally,
    # not necessary reviewed and submitted to master) are included in the tree.
    #
    # See also golang.org/x/build/cmd/genbootstrap, which is used
    Created: Tue Dec 30 11:13:12 GMT 2025
    - Last Modified: Fri Jan 20 17:52:26 GMT 2023
    - 2.3K bytes
    - Click Count (0)
  5. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/ClasspathContainer.java

                return null;
            }
    
            MetadataTreeNode tree = null;
            MetadataTreeNode parent = null;
    
            for (ArtifactMetadata md : classpath) {
                MetadataTreeNode node = new MetadataTreeNode(md, parent, md.isResolved(), md.getArtifactScope());
                if (tree == null) {
                    tree = node;
                }
    
                if (parent != null) {
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 4.2K bytes
    - Click Count (0)
  6. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataGraph.java

    import java.util.Collection;
    
    /**
     * This is the main graph data structure used by the RepositorySystem to present tree and graph objects.
     *
     *
     */
    @Deprecated
    public class MetadataGraph {
        /** all graph nodes */
        Collection<MetadataGraphNode> nodes;
    
        /** entry point for tree-like structures */
        MetadataGraphNode entry;
    
        public MetadataGraph(MetadataGraphNode entry) {
            this();
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 2K bytes
    - Click Count (0)
  7. api/maven-api-core/src/main/java/org/apache/maven/api/services/DependencyResolver.java

         * @param scope the {link PathScope} to collect dependencies, must not be {@code null}
         * @return the collection result, never {@code null}
         * @throws DependencyResolverException if the dependency tree could not be built
         * @throws IllegalArgumentException if an argument is null or invalid
         * @see #collect(DependencyResolverRequest)
         */
        @Nonnull
        default DependencyResolverResult collect(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Oct 16 14:15:37 GMT 2024
    - 9.4K bytes
    - Click Count (0)
  8. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataTreeNode.java

    import org.apache.maven.artifact.Artifact;
    import org.apache.maven.artifact.ArtifactScopeEnum;
    
    /**
     * metadata [dirty] Tree
     *
     *
     */
    @Deprecated
    public class MetadataTreeNode {
        ArtifactMetadata md; // this node
    
        MetadataTreeNode parent; // papa
    
        /** default # of children. Used for tree creation optimization only */
        int nChildren = 8;
    
        MetadataTreeNode[] children; // of cause
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Oct 25 12:31:46 GMT 2024
    - 3.9K bytes
    - Click Count (0)
  9. impl/maven-core/src/test/java/org/apache/maven/model/ModelBuilderTest.java

            mavenRequest.setLocalRepository(mavenRepositorySystem.createLocalRepository(new File("target/test-repo/")));
            mavenRequest.setRootDirectory(Paths.get("src/test/resources/projects/tree"));
    
            DefaultProjectBuildingRequest request = new DefaultProjectBuildingRequest();
            RepositorySystemSession.CloseableSession rsession = repositorySessionFactory
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Dec 16 13:41:14 GMT 2025
    - 4.1K bytes
    - Click Count (0)
  10. build-logic-commons/publishing/src/main/kotlin/gradlebuild.kotlin-dsl-plugin-bundle.gradle.kts

                name = "test"
                url = uri(localRepository)
            }
        }
    }
    
    gradlePlugin {
        website = "https://github.com/gradle/gradle/tree/HEAD/platforms/core-configuration/kotlin-dsl-plugins"
        vcsUrl = "https://github.com/gradle/gradle/tree/HEAD/platforms/core-configuration/kotlin-dsl-plugins"
    
        plugins.all {
    
            val plugin = this
    
            tags.addAll("Kotlin", "DSL")
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Jul 02 12:28:02 GMT 2025
    - 6.1K bytes
    - Click Count (0)
Back to Top