Skip to content

Built-in support for mmap #175

@pjbgf

Description

@pjbgf

Feature Description

Specially for osfs, it would be useful to have mmap support when handling files so instead of just exposing the file descriptor, the user actually request for files to be accessed in mmap mode in a best effort basis. For example:

osfs.New("<path>", osfs.WithBestEffortMmap())

Points up for debate:

  • Read/Write support.
  • UX for non-supporting OS.
  • API.

x-ref:

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions