diff options
author | Mike Buland <mike@xagasoft.com> | 2024-08-05 10:39:29 -0700 |
---|---|---|
committer | Mike Buland <mike@xagasoft.com> | 2024-08-05 10:39:29 -0700 |
commit | d344a682170e42ef3ca4e37b397428f9ba5fdb11 (patch) | |
tree | 39ff2374b6cfafccfb64cf87ae5fa8c0321794c0 /src/stable/file.h | |
parent | f6f5206b1ac2ba48660db7b6858e32612a6ffd05 (diff) | |
download | libbu++-d344a682170e42ef3ca4e37b397428f9ba5fdb11.tar.gz libbu++-d344a682170e42ef3ca4e37b397428f9ba5fdb11.tar.bz2 libbu++-d344a682170e42ef3ca4e37b397428f9ba5fdb11.tar.xz libbu++-d344a682170e42ef3ca4e37b397428f9ba5fdb11.zip |
Added getLocation() support to Bu::File.
It returns "file:<requested path>" which could be made better
eventually, but it's nice, I like the format, it'll be good for memory
buffers to be able to report in a similar way.
Diffstat (limited to 'src/stable/file.h')
-rw-r--r-- | src/stable/file.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/stable/file.h b/src/stable/file.h index 0f9b7d3..dfdc1a4 100644 --- a/src/stable/file.h +++ b/src/stable/file.h | |||
@@ -123,6 +123,7 @@ namespace Bu | |||
123 | private: | 123 | private: |
124 | int fd; | 124 | int fd; |
125 | bool bEos; | 125 | bool bEos; |
126 | Bu::String sLocation; | ||
126 | }; | 127 | }; |
127 | } | 128 | } |
128 | 129 | ||