sync
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
import { Context } from "../util/context"
|
||||
|
||||
const context = Context.create<{ directory: string; worktree: string }>("path")
|
||||
|
||||
export const Paths = {
|
||||
provider: context.provide,
|
||||
get directory() {
|
||||
return context.use().directory
|
||||
},
|
||||
get worktree() {
|
||||
return context.use().worktree
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user