initial commit

This commit is contained in:
Maxim Kurnikov
2018-07-29 18:12:23 +03:00
commit a9f215bf64
311 changed files with 13433 additions and 0 deletions

View File

@@ -0,0 +1,42 @@
from django.core.files.storage import (
DefaultStorage,
FileSystemStorage,
)
from django.core.management.base import CommandParser
from typing import (
Dict,
List,
Optional,
Union,
)
class Command:
def __init__(self, *args, **kwargs) -> None: ...
def add_arguments(self, parser: CommandParser) -> None: ...
def clear_dir(self, path: str) -> None: ...
def collect(self) -> Dict[str, List[str]]: ...
def copy_file(
self,
path: str,
prefixed_path: str,
source_storage: Union[FileSystemStorage, DefaultStorage]
) -> None: ...
def delete_file(
self,
path: str,
prefixed_path: str,
source_storage: Union[FileSystemStorage, DefaultStorage]
) -> bool: ...
def handle(self, **options) -> Optional[str]: ...
def is_local_storage(self) -> bool: ...
def link_file(
self,
path: str,
prefixed_path: str,
source_storage: Union[FileSystemStorage, DefaultStorage]
) -> None: ...
@cached_property
def local(self) -> bool: ...
def log(self, msg: str, level: int = ...) -> None: ...
def set_options(self, **options) -> None: ...