Skip to content
This repository was archived by the owner on Jun 14, 2023. It is now read-only.

difference between getBasePath, getFullPath, getRealPath, getFullReal…#41

Open
ooker777 wants to merge 1 commit intomarcusolsson:mainfrom
ooker777:patch-7
Open

difference between getBasePath, getFullPath, getRealPath, getFullReal…#41
ooker777 wants to merge 1 commit intomarcusolsson:mainfrom
ooker777:patch-7

Conversation

@ooker777
Copy link
Contributor

…Path

*/
append(normalizedPath: string, data: string, options?: DataWriteOptions): Promise<void>;
/**
* To learn what is the different between `getBasePath`, `getFullPath`, `getRealPath`, `getFullRealPath`, visit [this forum thread](https://forum.obsidian.md/t/what-are-the-differences-between-these-adapter-methods-getbasepath-getfullpath-getrealpath-getfullrealpath/32622?u=ooker)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
* To learn what is the different between `getBasePath`, `getFullPath`, `getRealPath`, `getFullRealPath`, visit [this forum thread](https://forum.obsidian.md/t/what-are-the-differences-between-these-adapter-methods-getbasepath-getfullpath-getrealpath-getfullrealpath/32622?u=ooker)
* Converts a vault-relative path to a URL that can be used to access the file from the HTML, e.g. to load as a <script> tag, <iframe>, <img>, etc. You only need it if you specifically need the browser to load it in some way.

Rather than to send the reader to another page, I think we should rewrite the insights from that topic. WDYT?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had thought about that, but decided to referred to the page because it's quite a long text. The conversation has examples in the question to illustrate why they are confusing, and also invites other to provide their thoughts. WDYT?

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants