Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 295 for rmtree (0.08 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
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Jan 11 22:25:37 UTC 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)
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 08 11:01:17 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  3. src/main/java/jcifs/SmbTree.java

     */
    package jcifs;
    
    
    /**
     * Opaque reference to a SMB tree
     * 
     * @author mbechler
     *
     */
    public interface SmbTree extends AutoCloseable {
    
        /**
         * 
         * @param type
         * @return tree instance with the given type
         */
        <T extends SmbTree> T unwrap ( Class<T> type );
    
    
        /**
         * {@inheritDoc}
         *
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.2K bytes
    - Viewed (0)
  4. src/main/java/jcifs/smb1/smb1/SmbTree.java

                    this.service.equalsIgnoreCase( service ));
        }
        public boolean equals(Object obj) {
            if (obj instanceof SmbTree) {
                SmbTree tree = (SmbTree)obj;
                return matches(tree.share, tree.service);
            }
            return false;
        }
        void send( ServerMessageBlock request,
                                ServerMessageBlock response ) throws SmbException {
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 8K 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" )
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Thu Jan 05 13:06:39 UTC 2023
    - 29.6K bytes
    - Viewed (0)
  6. src/main/java/jcifs/smb1/smb1/SmbSession.java

            trees = new Vector();
            connectionState = 0;
        }
    
        synchronized SmbTree getSmbTree( String share, String service ) {
            SmbTree t;
    
            if( share == null ) {
                share = "IPC$";
            }
            for( Enumeration e = trees.elements(); e.hasMoreElements(); ) {
                t = (SmbTree)e.nextElement();
                if( t.matches( share, service )) {
                    return t;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Fri Mar 22 21:10:40 UTC 2019
    - 18.6K bytes
    - Viewed (0)
  7. src/main/java/jcifs/smb/SmbSessionInternal.java

         * 
         * @throws SmbException
         */
        void treeConnectLogon () throws SmbException;
    
    
        /**
         * @param share
         * @param service
         * @return tree instance
         */
        SmbTree getSmbTree ( String share, String service );
    
    
        /**
         * Initiate reauthentication
         * 
         * @throws CIFSException
         */
        void reauthenticate () throws CIFSException;
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Sun Jul 01 13:12:10 UTC 2018
    - 1.7K bytes
    - Viewed (0)
  8. 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"
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Tue Oct 29 08:06:17 UTC 2024
    - 15.5K bytes
    - Viewed (0)
  9. 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}')
    
    
    Registered: Tue Nov 05 12:39:12 UTC 2024
    - Last Modified: Wed Nov 08 17:50:27 UTC 2023
    - 10.9K bytes
    - Viewed (0)
  10. src/main/java/jcifs/smb/SmbTreeInternal.java

     */
    package jcifs.smb;
    
    
    import jcifs.CIFSContext;
    import jcifs.CIFSException;
    import jcifs.SmbTree;
    import jcifs.internal.CommonServerMessageBlockResponse;
    import jcifs.internal.Request;
    
    
    /**
     * @author mbechler
     * @internal
     */
    public interface SmbTreeInternal extends SmbTree {
    
        /**
         * @param tf
         * @throws SmbException
         */
        @Deprecated
    Registered: Sun Nov 03 00:10:13 UTC 2024
    - Last Modified: Mon Apr 13 17:08:49 UTC 2020
    - 1.4K bytes
    - Viewed (0)
Back to top