Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 63 for rmtree (0.03 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. scripts/docs.py

            # removed or not.
        else:
            dist_path = site_path / lang
            shutil.rmtree(dist_path, ignore_errors=True)
        current_dir = os.getcwd()
        os.chdir(lang_path)
        shutil.rmtree(build_site_dist_path, ignore_errors=True)
        subprocess.run(["mkdocs", "build", "--site-dir", build_site_dist_path], check=True)
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 21 17:40:17 GMT 2025
    - 16.9K bytes
    - Click Count (0)
  3. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val antLauncher = "org.apache.ant:ant-launcher"
        val asm = "org.ow2.asm:asm"
        val asmAnalysis = "org.ow2.asm:asm-analysis"
        val asmCommons = "org.ow2.asm:asm-commons"
        val asmTree = "org.ow2.asm:asm-tree"
        val asmUtil = "org.ow2.asm:asm-util"
        val assertj = "org.assertj:assertj-core"
        val awsS3Core = "com.amazonaws:aws-java-sdk-core"
        val awsS3Kms = "com.amazonaws:aws-java-sdk-kms"
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Fri Dec 19 06:45:52 GMT 2025
    - 15.9K bytes
    - Click Count (0)
  4. compat/maven-compat/src/main/java/org/apache/maven/repository/metadata/MetadataGraph.java

        /**
         * construct graph from a "dirty" tree
         */
        public MetadataGraph(MetadataTreeNode tree) throws MetadataResolutionException {
            this(tree, false, false);
        }
        // ------------------------------------------------------------------------
        /**
         * construct graph from a "dirty" tree
         *
         * @param tree "dirty" tree root
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Wed Jul 23 17:27:08 GMT 2025
    - 13K 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. docs/en/docs/advanced/security/oauth2-scopes.md

    For this, we use `security_scopes.scopes`, that contains a `list` with all these scopes as `str`.
    
    {* ../../docs_src/security/tutorial005_an_py310.py hl[130:136] *}
    
    ## Dependency tree and scopes { #dependency-tree-and-scopes }
    
    Let's review again this dependency tree and the scopes.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Aug 31 10:49:48 GMT 2025
    - 13.5K bytes
    - Click Count (0)
  7. 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)
  8. 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)
  9. compat/maven-compat/src/main/java/org/apache/maven/repository/MetadataResolutionRequest.java

        private Map managedVersionMap;
    
        /** result type - flat list; the default */
        private boolean asList = true;
    
        /** result type - dirty tree */
        private boolean asDirtyTree = false;
    
        /** result type - resolved tree */
        private boolean asResolvedTree = false;
    
        /** result type - graph */
        private boolean asGraph = false;
    
        public MetadataResolutionRequest() {}
    
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Fri Jun 06 14:28:57 GMT 2025
    - 5.4K bytes
    - Click Count (0)
  10. .teamcity/src/main/kotlin/configurations/GradleBuildConfigurationDefaults.kt

    const val GRADLE_RETRY_RUNNER_STEP_NAME = "GRADLE_RETRY_RUNNER"
    
    fun checkCleanDirUnixLike(
        dir: String,
        exitOnFailure: Boolean = true,
    ) = """
        REPO=$dir
        if [ -e ${'$'}REPO ] ; then
            tree ${'$'}REPO
            rm -rf ${'$'}REPO
            echo "${'$'}REPO was polluted during the build"
            ${if (exitOnFailure) "exit 1" else ""}
        else
            echo "${'$'}REPO does not exist"
        fi
    
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Thu Nov 20 07:29:52 GMT 2025
    - 8.6K bytes
    - Click Count (0)
Back to Top