Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
Suyu
Manage
Activity
Members
Labels
Plan
Issues
0
Issue boards
Milestones
Wiki
Code
Merge requests
0
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
many-archive
Suyu
Commits
4dae5a52
There was an error fetching the commit references. Please try again later.
Commit
4dae5a52
authored
5 years ago
by
Zach Hilman
Browse files
Options
Downloads
Patches
Plain Diff
bis_factory: Add accessors for BIS content directories
parent
3a1899d1
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
src/core/file_sys/bis_factory.cpp
+8
-0
8 additions, 0 deletions
src/core/file_sys/bis_factory.cpp
src/core/file_sys/bis_factory.h
+3
-0
3 additions, 0 deletions
src/core/file_sys/bis_factory.h
with
11 additions
and
0 deletions
src/core/file_sys/bis_factory.cpp
+
8
−
0
View file @
4dae5a52
...
@@ -18,6 +18,14 @@ BISFactory::BISFactory(VirtualDir nand_root_, VirtualDir load_root_, VirtualDir
...
@@ -18,6 +18,14 @@ BISFactory::BISFactory(VirtualDir nand_root_, VirtualDir load_root_, VirtualDir
BISFactory
::~
BISFactory
()
=
default
;
BISFactory
::~
BISFactory
()
=
default
;
VirtualDir
BISFactory
::
GetSystemNANDContentDirectory
()
const
{
return
GetOrCreateDirectoryRelative
(
nand_root
,
"/system/Contents"
);
}
VirtualDir
BISFactory
::
GetUserNANDContentDirectory
()
const
{
return
GetOrCreateDirectoryRelative
(
nand_root
,
"/user/Contents"
);
}
RegisteredCache
*
BISFactory
::
GetSystemNANDContents
()
const
{
RegisteredCache
*
BISFactory
::
GetSystemNANDContents
()
const
{
return
sysnand_cache
.
get
();
return
sysnand_cache
.
get
();
}
}
...
...
This diff is collapsed.
Click to expand it.
src/core/file_sys/bis_factory.h
+
3
−
0
View file @
4dae5a52
...
@@ -37,6 +37,9 @@ public:
...
@@ -37,6 +37,9 @@ public:
explicit
BISFactory
(
VirtualDir
nand_root
,
VirtualDir
load_root
,
VirtualDir
dump_root
);
explicit
BISFactory
(
VirtualDir
nand_root
,
VirtualDir
load_root
,
VirtualDir
dump_root
);
~
BISFactory
();
~
BISFactory
();
VirtualDir
GetSystemNANDContentDirectory
()
const
;
VirtualDir
GetUserNANDContentDirectory
()
const
;
RegisteredCache
*
GetSystemNANDContents
()
const
;
RegisteredCache
*
GetSystemNANDContents
()
const
;
RegisteredCache
*
GetUserNANDContents
()
const
;
RegisteredCache
*
GetUserNANDContents
()
const
;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment