Added a callout to osxfuse/osxfuse#199 in comments for Open{File,Dir}.
parent
0d8ca8e6fb
commit
12dc132805
|
@ -131,9 +131,12 @@ type FileSystem interface {
|
||||||
// Directory handles
|
// Directory handles
|
||||||
///////////////////////////////////
|
///////////////////////////////////
|
||||||
|
|
||||||
// Open a directory inode. The kernel calls this method when setting up a
|
// Open a directory inode.
|
||||||
// struct file for a particular inode with type directory, usually in
|
//
|
||||||
// response to an open(2) call from a user-space process.
|
// On Linux the kernel calls this method when setting up a struct file for a
|
||||||
|
// particular inode with type directory, usually in response to an open(2)
|
||||||
|
// call from a user-space process. On OS X it may not be called for every
|
||||||
|
// open(2) (cf. https://github.com/osxfuse/osxfuse/issues/199).
|
||||||
OpenDir(
|
OpenDir(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
req *OpenDirRequest) (*OpenDirResponse, error)
|
req *OpenDirRequest) (*OpenDirResponse, error)
|
||||||
|
@ -157,9 +160,12 @@ type FileSystem interface {
|
||||||
// File handles
|
// File handles
|
||||||
///////////////////////////////////
|
///////////////////////////////////
|
||||||
|
|
||||||
// Open a file inode. The kernel calls this method when setting up a struct
|
// Open a file inode.
|
||||||
// file for a particular inode with type file, usually in response to an
|
//
|
||||||
// open(2) call from a user-space process.
|
// On Linux the kernel calls this method when setting up a struct file for a
|
||||||
|
// particular inode with type file, usually in response to an open(2) call
|
||||||
|
// from a user-space process. On OS X it may not be called for every open(2)
|
||||||
|
// (cf.https://github.com/osxfuse/osxfuse/issues/199).
|
||||||
OpenFile(
|
OpenFile(
|
||||||
ctx context.Context,
|
ctx context.Context,
|
||||||
req *OpenFileRequest) (*OpenFileResponse, error)
|
req *OpenFileRequest) (*OpenFileResponse, error)
|
||||||
|
|
Loading…
Reference in New Issue