virtualbox/fs/fs_dir.py
def alreadyexist(function: Callable[['Dir', User, str, ...], Any]) -> Callable[['Dir', User, str, ...], Any]:
        """Wrapper that file or directory is subdirectory of instance.

        if it is the case raises FileOrDirectoryAlreadyExist
        """
        def check(self: 'Dir', user: User, name: str, *args: Any) -> Any:
            if name in self.sub:
                raise FileOrDirectoryAlreadyExist()
            return function(self, user, name, *args)
        return check
Wrapper that file or directory is subdirectory of instance.

        if it is the case raises FileOrDirectoryAlreadyExist
        
Wrapper that file or directory is subdirectory of instance.
if it is the case raises FileOrDirectoryAlreadyExist
Wrapper that file or directory is subdirectory of instance . if it is the case raises FileOrDirectoryAlreadyExist
def alreadyexist(function: Callable[['Dir', User, str, ...], Any]) -> Callable[['Dir', User, str, ...], Any]:
        def check(self: 'Dir', user: User, name: str, *args: Any) -> Any:
            if name in self.sub:
                raise FileOrDirectoryAlreadyExist()
            return function(self, user, name, *args)
        return check
def alreadyexist ( function : Callable [ [ 'Dir' , User , str , ... ] , Any ] ) -> Callable [ [ 'Dir' , User , str , ... ] , Any ] : def check ( self : 'Dir' , user : User , name : str , * args : Any ) -> Any : if name in self . sub : raise FileOrDirectoryAlreadyExist ( ) return function ( self , user , name , * args ) return check
Wrapper that file or directory is subdirectory of instance.
Wrapper that file or directory is subdirectory of instance .
"""Wrapper that file or directory is subdirectory of instance.

        if it is the case raises FileOrDirectoryAlreadyExist
        """
function
Callable[['Dir', User, str, ...], Any]