1
0
Fork 0
mirror of https://github.com/borgbackup/borg.git synced 2024-12-26 01:37:20 +00:00

move lrucache module to borg.helpers

This commit is contained in:
Thomas Waldmann 2022-08-13 22:02:04 +02:00
parent 9beaced33c
commit 578639b35e
5 changed files with 6 additions and 6 deletions

View file

@ -13,7 +13,7 @@
from itertools import groupby, zip_longest
from shutil import get_terminal_size
from .platformflags import is_win32, is_linux, is_freebsd, is_darwin
from .platformflags import is_win32
from .logger import create_logger
logger = create_logger()
@ -41,7 +41,7 @@
from .helpers import os_stat
from .helpers import msgpack
from .helpers import sig_int
from .lrucache import LRUCache
from .helpers.lrucache import LRUCache
from .manifest import Manifest
from .patterns import PathPrefixPattern, FnmatchPattern, IECommand
from .item import Item, ArchiveItem, ItemDiff

View file

@ -41,8 +41,8 @@ def async_wrapper(fn):
from .helpers import daemonize, daemonizing, signal_handler, format_file_size
from .helpers import HardLinkManager
from .helpers import msgpack
from .helpers.lrucache import LRUCache
from .item import Item
from .lrucache import LRUCache
from .platform import uid2user, gid2group
from .remote import RemoteRepository

View file

@ -5,7 +5,7 @@
import stat
import struct
import time
from binascii import hexlify, unhexlify
from binascii import unhexlify
from collections import defaultdict
from configparser import ConfigParser
from datetime import datetime, timezone
@ -20,9 +20,9 @@
from .helpers import bin_to_hex
from .helpers import secure_erase, safe_unlink
from .helpers import msgpack
from .helpers.lrucache import LRUCache
from .locking import Lock, LockError, LockErrorT
from .logger import create_logger
from .lrucache import LRUCache
from .manifest import Manifest
from .platform import SaveFile, SyncFile, sync_dir, safe_fadvise
from .checksums import crc32, StreamingXXH64

View file

@ -2,7 +2,7 @@
import pytest
from ..lrucache import LRUCache
from ..helpers.lrucache import LRUCache
class TestLRUCache: