Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Dstack-TEE/dstack
/ new
Method
new
certbot/src/workdir.rs:20–24 ·
view source on GitHub ↗
(workdir: impl AsRef<Path>)
Source
from the content-addressed store, hash-verified
18
19
impl WorkDir {
20
pub fn new(workdir: impl AsRef<Path>) -> Self {
21
Self {
22
workdir: workdir.as_ref().to_path_buf(),
23
}
24
}
25
26
pub fn workdir(&self) -> &PathBuf {
27
&self.workdir
Callers
nothing calls this directly
Calls
1
as_ref
Method · 0.45
Tested by
no test coverage detected