mirror of
https://codeberg.org/polarisfm/youtube-dl
synced 2025-01-08 14:17:54 +01:00
Improve docstring
This commit is contained in:
parent
dd065a7305
commit
f947efd3e9
@ -15,17 +15,16 @@ class Archive(object):
|
|||||||
filepath: str The filepath of the archive.
|
filepath: str The filepath of the archive.
|
||||||
|
|
||||||
Properties:
|
Properties:
|
||||||
data: set Container for holding a cache of the archive
|
_data: set Container for holding a cache of the archive
|
||||||
disabled: bool When true, all functions are effectively void
|
_disabled: bool When true, all functions are effectively void
|
||||||
filepath: str The filepath of the archive
|
filepath: str The filepath of the archive
|
||||||
|
_last_read: float The last modification date of the archive file
|
||||||
|
|
||||||
Public Methods:
|
Methods:
|
||||||
__contains__ Checks a video id (archive id) exists in archive
|
__contains__ Checks a video id (archive id) exists in archive
|
||||||
record_download Adds a new download to archive
|
|
||||||
|
|
||||||
Private Methods:
|
|
||||||
_file_changed Checks if file has been modified since last read
|
_file_changed Checks if file has been modified since last read
|
||||||
_read_archive Reads archive from disk
|
_read_archive Reads archive from disk
|
||||||
|
record_download Adds a new download to archive
|
||||||
"""
|
"""
|
||||||
|
|
||||||
def __init__(self, filepath):
|
def __init__(self, filepath):
|
||||||
|
Loading…
Reference in New Issue
Block a user