Skip to content

Commit

Permalink
Merge pull request #335 from pfnet/remove-sparse-file-cache
Browse files Browse the repository at this point in the history
Remove sparse file cache
  • Loading branch information
kuenishi committed Apr 10, 2024
2 parents 2b1b130 + 0b13e1c commit 27823b0
Show file tree
Hide file tree
Showing 6 changed files with 7 additions and 886 deletions.
13 changes: 1 addition & 12 deletions docs/source/reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,18 +81,7 @@ but several methods are not yet implemented.
Sparse File Cache
-----------------

.. autoclass:: pfio.cache.SparseFileCache
:members:

.. autoclass:: pfio.cache.MultiprocessSparseFileCache
:members:

.. autoclass:: pfio.cache.sparse_file.CachedWrapper
:members:

.. autoclass:: pfio.cache.sparse_file.MPCachedWrapper
:members:

Removed at 2.8.

Cache API
---------
Expand Down
3 changes: 0 additions & 3 deletions pfio/cache/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,3 @@ def get_and_cache(self, i, backend_get: Callable[[int], bytes]) -> bytes:
from pfio.cache.mmap_file_cache import ReadOnlyFileCache # NOQA
from pfio.cache.multiprocess_file_cache import MultiprocessFileCache # NOQA
from pfio.cache.naive import NaiveCache # NOQA
from pfio.cache.sparse_file import CachedWrapper as SparseFileCache # NOQA
from pfio.cache.sparse_file import \
MPCachedWrapper as MultiprocessSparseFileCache # NOQA

0 comments on commit 27823b0

Please sign in to comment.