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
Open
difference between getBasePath, getFullPath, getRealPath, getFullReal…#41ooker777 wants to merge 1 commit intomarcusolsson:mainfrom
ooker777 wants to merge 1 commit intomarcusolsson:mainfrom
Conversation
| */ | ||
| 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) |
Owner
There was a problem hiding this comment.
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?
Contributor
Author
There was a problem hiding this comment.
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?
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…Path