Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 206 for rmtree (0.18 sec)

  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")
        from docs_src.templates.tutorial001 import app
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Jan 11 22:25:37 GMT 2024
    - 910 bytes
    - Viewed (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)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Mon Jan 22 19:26:14 GMT 2024
    - 10.9K bytes
    - Viewed (1)
  3. .idea/runConfigurations/Generate_IR_tree.xml

    <component name="ProjectRunConfigurationManager">
      <configuration default="false" name="Generate IR tree" type="GradleRunConfiguration" factoryName="Gradle" folderName="Generators">
        <ExternalSystemSettings>
          <option name="executionName" />
          <option name="externalProjectPath" value="$PROJECT_DIR$/compiler/ir/ir.tree" />
          <option name="externalSystemIdString" value="GRADLE" />
          <option name="scriptParameters" value="" />
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Mon Jun 13 16:58:05 GMT 2022
    - 828 bytes
    - Viewed (0)
  4. .idea/runConfigurations/Generate_SwiftIR_tree.xml

    <component name="ProjectRunConfigurationManager">
      <configuration default="false" name="Generate SwiftIR tree" type="GradleRunConfiguration" factoryName="Gradle" folderName="Generators">
        <ExternalSystemSettings>
          <option name="executionName" />
          <option name="externalProjectPath" value="$PROJECT_DIR$/native/swift/sir" />
          <option name="externalSystemIdString" value="GRADLE" />
          <option name="scriptParameters" value="" />
    XML
    - Registered: Fri May 03 08:18:13 GMT 2024
    - Last Modified: Fri Dec 08 10:09:09 GMT 2023
    - 1006 bytes
    - Viewed (0)
  5. src/main/java/jcifs/smb/SmbTreeImpl.java

            if ( obj instanceof SmbTreeImpl ) {
                SmbTreeImpl tree = (SmbTreeImpl) obj;
                return matches(tree.share, tree.service);
            }
            return false;
        }
    
    
        public SmbTreeImpl acquire () {
            return acquire(true);
        }
    
    
        /**
         * {@inheritDoc}
         *
         * @see jcifs.SmbTree#unwrap(java.lang.Class)
         */
        @SuppressWarnings ( "unchecked" )
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Thu Jan 05 13:06:39 GMT 2023
    - 29.6K bytes
    - Viewed (0)
  6. android/guava/src/com/google/common/graph/Traverser.java

      public static <N> Traverser<N> forTree(SuccessorsFunction<N> tree) {
        if (tree instanceof BaseGraph) {
          checkArgument(((BaseGraph<?>) tree).isDirected(), "Undirected graphs can never be trees.");
        }
        if (tree instanceof Network) {
          checkArgument(((Network<?, ?>) tree).isDirected(), "Undirected networks can never be trees.");
        }
        return new Traverser<N>(tree) {
          @Override
          Traversal<N> newTraversal() {
    Java
    - Registered: Fri Apr 26 12:43:10 GMT 2024
    - Last Modified: Tue May 30 20:12:45 GMT 2023
    - 19.8K bytes
    - Viewed (0)
  7. build-logic/dependency-modules/src/main/kotlin/gradlebuild/modules/extension/ExternalModulesExtension.kt

        val antJunit = "org.apache.ant:ant-junit"
        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"
    Plain Text
    - Registered: Wed May 01 11:36:15 GMT 2024
    - Last Modified: Tue Apr 16 15:50:58 GMT 2024
    - 14.4K bytes
    - Viewed (0)
  8. ci/official/utilities/extract_resultstore_links.py

        testsuites.attrib = suite_attrib
        testsuite.attrib = suite_attrib
        indent_xml(testsuites)
    
      tree = ElemTree.ElementTree(testsuites)
      file_path = os.path.join(output_path)
      with open(file_path, 'wb') as f:
        f.write(b'<?xml version="1.0"?>\n')
        tree.write(f)
        if verbose:
          print(f'\nWrote XML with Bazel invocation results to {file_path}')
    
    
    Python
    - Registered: Tue Apr 30 12:39:09 GMT 2024
    - Last Modified: Wed Nov 08 17:50:27 GMT 2023
    - 10.9K bytes
    - Viewed (0)
  9. src/main/java/jcifs/smb1/smb1/SmbFile.java

            if( isOpen() ) {
                return;
            }
            fid = open0( flags, access, attrs, options );
            opened = true;
            tree_num = tree.tree_num;
        }
        boolean isOpen() {
            boolean ans = opened && isConnected() && tree_num == tree.tree_num;
            return ans;
        }
        void close( int f, long lastWriteTime ) throws SmbException {
    
            if( log.level >= 3 )
    Java
    - Registered: Sun Apr 28 00:10:09 GMT 2024
    - Last Modified: Mon Mar 13 12:00:57 GMT 2023
    - 107.9K bytes
    - Viewed (2)
  10. android/guava-tests/test/com/google/common/collect/TreeTraverserTest.java

      static final Tree c = new Tree('c');
      static final Tree d = new Tree('d', a, b, c);
      static final Tree e = new Tree('e');
      static final Tree f = new Tree('f');
      static final Tree g = new Tree('g', f);
      static final Tree h = new Tree('h', d, e, g);
    
      static String iterationOrder(Iterable<? extends Node> iterable) {
        StringBuilder builder = new StringBuilder();
        for (Node t : iterable) {
    Java
    - Registered: Fri May 03 12:43:13 GMT 2024
    - Last Modified: Mon Feb 19 20:34:55 GMT 2024
    - 3.3K bytes
    - Viewed (0)
Back to top