Home
last modified time | relevance | path

Searched refs:AbsolutePath (Results 1 – 25 of 1161) sorted by relevance

12345678910>>...47

/dports/devel/cquery/cquery-20180718/src/
H A Dfile_types.cc9 AbsolutePath AbsolutePath::BuildDoNotUse(std::string_view path) { in BuildDoNotUse()
10 AbsolutePath p; in BuildDoNotUse()
15 AbsolutePath::AbsolutePath() {} in AbsolutePath() function in AbsolutePath
17 AbsolutePath::AbsolutePath(const std::string& path, bool validate) in AbsolutePath() function in AbsolutePath
27 AbsolutePath::operator std::string() const { in operator std::string()
31 bool AbsolutePath::operator==(const AbsolutePath& rhs) const { in operator ==()
35 bool AbsolutePath::operator!=(const AbsolutePath& rhs) const { in operator !=()
39 void Reflect(Reader& visitor, AbsolutePath& value) { in Reflect()
42 void Reflect(Writer& visitor, AbsolutePath& value) { in Reflect()
46 std::ostream& operator<<(std::ostream& out, const AbsolutePath& path) { in operator <<()
[all …]
H A Dfile_types.h9 struct AbsolutePath { struct
10 static AbsolutePath BuildDoNotUse(std::string_view path);
13 AbsolutePath();
16 AbsolutePath(const std::string& path, bool validate = true);
19 bool operator==(const AbsolutePath& rhs) const;
20 bool operator!=(const AbsolutePath& rhs) const;
24 MAKE_HASHABLE(AbsolutePath, t.path); argument
26 void Reflect(Reader& visitor, AbsolutePath& value);
27 void Reflect(Writer& visitor, AbsolutePath& value);
29 std::ostream& operator<<(std::ostream& out, const AbsolutePath& path);
[all …]
H A Dplatform.h27 AbsolutePath GetExecutablePath();
28 AbsolutePath GetWorkingDirectory();
29 optional<AbsolutePath> NormalizePath(const std::string& path,
34 void MakeDirectoryRecursive(const AbsolutePath& path);
38 bool TryMakeDirectory(const AbsolutePath& path);
42 optional<int64_t> GetLastModificationTime(const AbsolutePath& absolute_path);
44 void MoveFileTo(const AbsolutePath& destination, const AbsolutePath& source);
45 void CopyFileTo(const AbsolutePath& destination, const AbsolutePath& source);
47 bool IsSymLink(const AbsolutePath& path);
H A Dclang_complete.h57 PreloadRequest(const AbsolutePath& path);
60 AbsolutePath path;
64 const AbsolutePath& path,
69 AbsolutePath path;
74 DiagnosticRequest(const AbsolutePath& path);
76 AbsolutePath path;
95 void NotifyView(const AbsolutePath& filename);
97 void NotifyEdit(const AbsolutePath& filename);
100 void NotifySave(const AbsolutePath& filename);
103 void NotifyClose(const AbsolutePath& filename);
[all …]
H A Dplatform_posix.cc125 AbsolutePath GetExecutablePath() { in GetExecutablePath()
135 return AbsolutePath(result); in GetExecutablePath()
147 return AbsolutePath(path); in GetExecutablePath()
151 return AbsolutePath(""); in GetExecutablePath()
152 return AbsolutePath(buffer); in GetExecutablePath()
156 AbsolutePath GetWorkingDirectory() { in GetWorkingDirectory()
159 return AbsolutePath(""); in GetWorkingDirectory()
162 return AbsolutePath(working_dir); in GetWorkingDirectory()
213 void MoveFileTo(const AbsolutePath& dest, const AbsolutePath& source) { in MoveFileTo()
219 void CopyFileTo(const AbsolutePath& dest, const AbsolutePath& source) { in CopyFileTo()
[all …]
/dports/math/hs-Agda/Agda-2.6.2/src/full/Agda/Utils/
H A DFileName.hs5 ( AbsolutePath(AbsolutePath)
41 newtype AbsolutePath = AbsolutePath { textPath :: Text } constructor
45 filePath :: AbsolutePath -> FilePath
48 instance Pretty AbsolutePath where
55 mkAbsolute :: FilePath -> AbsolutePath
58 AbsolutePath $ Text.pack $ dropTrailingPathSeparator $ normalise f
72 absolute :: FilePath -> IO AbsolutePath
89 canonicalizeAbsolutePath :: AbsolutePath -> IO AbsolutePath
90 canonicalizeAbsolutePath (AbsolutePath f) =
91 AbsolutePath . Text.pack <$> canonicalizePath (Text.unpack f)
[all …]
/dports/devel/hs-darcs/darcs-2.16.4/src/Darcs/Util/
H A DPath.hs31 , AbsolutePath
178 newtype AbsolutePath = AbsolutePath FilePath deriving (Eq, Ord) function
212 makeSubPathOf :: AbsolutePath -> AbsolutePath -> Maybe SubPath
213 makeSubPathOf (AbsolutePath p1) (AbsolutePath p2) =
267 makeAbsolute :: AbsolutePath -> FilePath -> AbsolutePath
281 (/-) :: AbsolutePath -> String -> AbsolutePath
283 (AbsolutePath "/") /- r = AbsolutePath ('/':simpleClean r)
284 (AbsolutePath x) /- r = AbsolutePath (x++'/':simpleClean r)
322 takeDirectory :: AbsolutePath -> AbsolutePath
325 "" -> AbsolutePath "/"
[all …]
/dports/devel/hs-darcs/darcs-2.16.4/src/Darcs/UI/
H A DCompletion.hs47 , AbsolutePath, toPath, floatSubPath, makeSubPathOf
58 fileArgs :: (AbsolutePath, AbsolutePath)
70 unknownFileArgs :: (AbsolutePath, AbsolutePath)
86 knownFileArgs :: (AbsolutePath, AbsolutePath)
100 modifiedFileArgs :: (AbsolutePath, AbsolutePath)
116 -> (AbsolutePath, AbsolutePath)
123 noArgs :: (AbsolutePath, AbsolutePath) -> [DarcsFlag] -> [String] -> IO [String]
150 subtreeHere :: Tree IO -> (AbsolutePath, AbsolutePath) -> IO (Maybe (Tree IO))
159 -> (AbsolutePath, AbsolutePath)
/dports/security/vuls/vuls-0.13.7/vendor/github.com/spf13/cobra/cobra/cmd/
H A Dproject.go16 AbsolutePath string member
30 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
32 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
38 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
51 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
52 os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751)
54 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
74 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
85 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/databases/prometheus-postgresql-adapter/prometheus-postgresql-adapter-0.6.0/vendor/github.com/spf13/cobra/cobra/cmd/
H A Dproject.go15 AbsolutePath string member
30 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
32 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
38 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
51 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
52 os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751)
54 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
74 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
84 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/net/inlets/inlets-3.0.2/vendor/github.com/spf13/cobra/cobra-0.0.6/cobra/cmd/
H A Dproject.go16 AbsolutePath string member
30 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
32 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
38 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
51 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
52 os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751)
54 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
74 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
85 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/net/gscloud/gscloud-0.11.0/vendor/github.com/spf13/cobra/cobra/cmd/
H A Dproject.go17 AbsolutePath string member
31 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
33 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
39 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
52 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
53 cobra.CheckErr(os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751))
55 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
75 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
86 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/net/rclone/rclone-1.57.0/vendor/github.com/spf13/cobra/cobra/cmd/
H A Dproject.go17 AbsolutePath string member
31 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
33 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
39 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
52 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
53 cobra.CheckErr(os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751))
55 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
75 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
86 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/net/evans/evans-0.9.1/vendor/github.com/spf13/cobra/cobra/cmd/
H A Dproject.go16 AbsolutePath string member
30 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
32 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
38 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
51 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
52 os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751)
54 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
74 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
85 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/sysutils/brename/brename-2.11.1/vendor/github.com/spf13/cobra/cobra/cmd/
H A Dproject.go17 AbsolutePath string member
31 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
33 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
39 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
52 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
53 cobra.CheckErr(os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751))
55 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
75 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
86 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/textproc/textnote/textnote-1.3.0/vendor/github.com/spf13/cobra/cobra/cmd/
H A Dproject.go17 AbsolutePath string member
31 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
33 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
39 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
52 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
53 cobra.CheckErr(os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751))
55 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
75 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
86 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/misc/timetrace/timetrace-0.14.2/vendor/github.com/spf13/cobra/cobra/cmd/
H A Dproject.go17 AbsolutePath string member
31 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
33 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
39 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
52 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
53 cobra.CheckErr(os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751))
55 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
75 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
86 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/deskutils/ultralist/ultralist-1.7.0/vendor/github.com/spf13/cobra/cobra-1.0.0/cobra/cmd/
H A Dproject.go16 AbsolutePath string member
30 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
32 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
38 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
51 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
52 os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751)
54 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
74 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
85 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/security/certmgr/certmgr-3.0.3/vendor/github.com/spf13/cobra/cobra-0.0.5/cobra/cmd/
H A Dproject.go15 AbsolutePath string member
30 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
32 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
38 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
51 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
52 os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751)
54 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
74 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
84 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/finance/cointop/cointop-1.5.4/vendor/github.com/spf13/cobra/cobra-0.0.5/cobra/cmd/
H A Dproject.go15 AbsolutePath string member
30 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
32 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
38 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
51 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
52 os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751)
54 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
74 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
84 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/devel/gh/cli-2.4.0/vendor/github.com/spf13/cobra/cobra/cmd/
H A Dproject.go17 AbsolutePath string member
31 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
33 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
39 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
52 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
53 cobra.CheckErr(os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751))
55 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
75 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
86 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/net/rospo/rospo-0.7.1/vendor/github.com/spf13/cobra/cobra-1.2.1/cobra/cmd/
H A Dproject.go17 AbsolutePath string member
31 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
33 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
39 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
52 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
53 cobra.CheckErr(os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751))
55 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
75 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
86 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/devel/git-town/git-town-7.6.0/vendor/github.com/spf13/cobra/cobra-1.0.0/cobra/cmd/
H A Dproject.go16 AbsolutePath string member
30 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
32 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
38 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
51 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
52 os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751)
54 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
74 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
85 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/security/aws-iam-authenticator/aws-iam-authenticator-0.5.2/vendor/github.com/spf13/cobra/cobra-0.0.5/cobra/cmd/
H A Dproject.go15 AbsolutePath string member
30 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
32 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
38 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
51 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
52 os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751)
54 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
74 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
84 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))
/dports/sysutils/chezmoi/chezmoi-2.9.3/vendor/github.com/spf13/cobra/cobra/cmd/
H A Dproject.go17 AbsolutePath string member
31 if _, err := os.Stat(p.AbsolutePath); os.IsNotExist(err) {
33 if err := os.Mkdir(p.AbsolutePath, 0754); err != nil {
39 mainFile, err := os.Create(fmt.Sprintf("%s/main.go", p.AbsolutePath))
52 if _, err = os.Stat(fmt.Sprintf("%s/cmd", p.AbsolutePath)); os.IsNotExist(err) {
53 cobra.CheckErr(os.Mkdir(fmt.Sprintf("%s/cmd", p.AbsolutePath), 0751))
55 rootFile, err := os.Create(fmt.Sprintf("%s/cmd/root.go", p.AbsolutePath))
75 licenseFile, err := os.Create(fmt.Sprintf("%s/LICENSE", p.AbsolutePath))
86 cmdFile, err := os.Create(fmt.Sprintf("%s/cmd/%s.go", c.AbsolutePath, c.CmdName))

12345678910>>...47