xref: /haiku/src/add-ons/kernel/file_systems/packagefs/package/PackageLeafNode.cpp (revision b617a7b410c05275effb95f4b2f5608359d9b7b9)
1 /*
2  * Copyright 2009, Ingo Weinhold, ingo_weinhold@gmx.de.
3  * Distributed under the terms of the MIT License.
4  */
5 
6 
7 #include "PackageLeafNode.h"
8 
9 
10 PackageLeafNode::PackageLeafNode(Package* package, mode_t mode)
11 	:
12 	PackageNode(package, mode)
13 {
14 }
15 
16 
17 PackageLeafNode::~PackageLeafNode()
18 {
19 }
20 
21 
22 String
23 PackageLeafNode::SymlinkPath() const
24 {
25 	return String();
26 }
27 
28 
29 status_t
30 PackageLeafNode::Read(off_t offset, void* buffer, size_t* bufferSize)
31 {
32 	return EBADF;
33 }
34 
35 
36 status_t
37 PackageLeafNode::Read(io_request* request)
38 {
39 	return EBADF;
40 }
41