
    Vh~                    0    d Z ddlmZ ddlZddlmZ ddZy)z6Common classification code used by multiple languages.    )annotationsN   )data_contextc           	        t               j                  j                  s| j                  d      s| S | j	                  d      }|j	                  t
        j                  j                        }|D ]  }|r|r n|d=  dt               j                  j                  dj                  ||D cg c]  }|s|	 c}z         S c c}w )zkReturn the fully qualified name of the given import if possible, otherwise return the original import name..zansible_collections.)
r   content
is_ansible
startswithsplitospathsepprefixjoin)import_namer   packagesmodule_packagespackageps         \/home/dcms/DCMS/lib/python3.12/site-packages/ansible_test/_internal/classification/common.pyresolve_csharp_ps_utilr      s    ~((0F0Fs0K  %Hjj-O  'B 
 *6)?)?)F)F),/PXD^1\]QD^2^)_a aD^s   +C3C)r   strr   r   returnr   )__doc__
__future__r   r   datar   r        r   <module>r       s    < " 	
ar   